In what cases does capitilization affect a url? In some cases they seem to be case-sensitive. At other times they don't seem to be case sensitive.
http://domain.name/path?query=string
Domain names are case insensitive. The path and query string afterwords are case sensitive. So www.yahoo.com and WWW.YAHOO.COM are identical, but wikipedia.org/bash is different from wikipedia.org/Bash.
It is up to the web server to interpret the path portion, so generally speaking Windows web servers might not care what case you use for file names and may allow both index.asp and Index.asp. UNIX web servers generally do distinguish based on case since the underlying file system does. Or if a web site is running custom software to interpret its URLs, like Wikipedia does with its MediaWiki software, then it can do whatever it likes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With