serhii.net LINKS BLOG!

In the middle of the desert you can say anything you want

16 Mar 2017

parsing - Is it valid to have more than one question mark in a URL? - Stack Overflow (Yes.)

Categories:
(show all) All categories:

Tags:
  • Parsing
  • Web-development
  • Standards
  • URL
  • URI

  • Rating: 5; Complexity: 5
    Title: parsing - Is it valid to have more than one question mark in a URL? - Stack Overflow (Yes.)
    Link: https://stackoverflow.com/questions/2924160/is-it-valid-to-have-more-than-one-question-mark-in-a-url

    Yes, it is valid. Only the first ? in a URL has significance, any after it are treated as literal question marks:
    The query component is indicated by the first question mark ("?") character and terminated by a number sign ("#") character or by the end of the URI.