質問

When I open a url like http://stackoverflow.com/#abc, and then click a link in the page. I find the Referer is still http://stackoverflow.com (Chrome, F12). Why not #abc?

The same problem appears when I open a redirected url which also includes '#'.

Someone can explain that ? Is there any related RFC document ?

Thank you!

役に立ちましたか?

解決

Because that's the why the "referer" header field is specified to work? (see http://greenbytes.de/tech/webdav/rfc2616.html#header.referer)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top