Parsing - Is it valid to have more than one question mark in a URL? - Stack Overflow

From Pchr8's wiki thing
Jump to: navigation, search

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




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.