Вопрос

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