5 ms·
Ask HN: Should URL's be case insensitive?
I frequently visit https://news.ycombinator.com/active and sometimes I accidentally type https://news.ycombinator.com/ACTIVE which provides me with a nice
Unknown.
message...
Should a URL string be case insensitive or does it actually matter?
- tlb 7y agoWhile the host part is case-insensitive, the path is case-sensitive on almost every website. In principle a website could choose to do a case-insensitive match, but I can't think of one that does.
- LinuxBender 7y agoStackOverflow is typically a good place for this question. [1] Most web servers on unix or linux the URL is case sensitive. IIS on windows the URL is not case sensitive. The domain name is not case sensitive. https://tinyvpn.org/cs/ https://tinyvpn.org/cs/ https://tinyvpn.org/Cs/ https://tinyvpn.org/Cs/ [1] - https://stackoverflow.com/questions/15641694/are-uris-case-insensitive https://stackoverflow.com/questions/15641694/are-uris-case-i...