有人为什么要避免在其网络服务器上的文件夹名称中使用@符号?
例如:www.mywebsite.com/@directory/index.php
答案 0 :(得分:2)
完全没有回答这个问题,只是添加一些信息。
RFC 2068 (HTTP) section 3.2.1表示路径部分明确允许@
:
URI = ( absoluteURI | relativeURI ) [ "#" fragment ]
relativeURI = net_path | abs_path | rel_path
abs_path = "/" rel_path
rel_path = [ path ] [ ";" params ] [ "?" query ]
path = fsegment *( "/" segment )
fsegment = 1*pchar
segment = *pchar
pchar = uchar | ":" | "@" | "&" | "=" | "+"
答案 1 :(得分:2)
表示基本身份验证。例如:
http://www.yahoo.com:80-q=basic+authentication@www.google.com/search?q=basic+authentication
可能看起来像是雅虎搜索,但实际上是谷歌搜索。