相关疑难解决方法(0)

URL应该区分大小写吗?

我注意到了

HTTP://STACKOVERFLOW.COM/QUESTIONS/ASK
Run Code Online (Sandbox Code Playgroud)

http://stackoverflow.com/questions/ask
Run Code Online (Sandbox Code Playgroud)

两者都工作正常 - 实际上前一个转换为小写.

我认为这对用户来说很有意义.

如果我查看Google,那么此网址可以正常使用:

http://www.google.com/intl/en/about/corporate/index.html  
Run Code Online (Sandbox Code Playgroud)

但这个"关于"的人不起作用:

http://www.google.com/intl/en/ABOUT/corporate/index.html   
Run Code Online (Sandbox Code Playgroud)

URL应该区分大小写吗?

url case-sensitive

277
推荐指数
7
解决办法
13万
查看次数

标签 统计

case-sensitive ×1

url ×1