我注意到
HTTP://CODINGDICT.COM/QUESTIONS/
and
https://codingdict.com/questions/
两者都工作正常 - 实际上前一个被转换为小写。
我认为这对用户来说是有意义的。
如果我查看 Google,则此 URL 可以正常工作:
http://www.google.com/intl/en/about/corporate/index.html聽
但是这个带有“关于”的不工作:
http://www.google.com/intl/en/ABOUT/corporate/index.html聽
URL 应该区分大小写吗?
According to W3’s “HTML and URLs” they should:
There may be URLs, or parts of URLs, where case doesn’t matter, but identifying these may not be easy. Users should always consider that URLs are case-sensitive.