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

From Fiamma
Revision as of 13:07, 16 March 2017 by Pchr8 (talk | contribs) (Created page with "{{B| 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?...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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.