Url fragment and Referer header

前端 未结 3 2020
青春惊慌失措
青春惊慌失措 2021-01-11 15:02

Imagine you are on a page whose URL has a fragment (the part after the #), and click a link to go to another page. Most browsers will send the URL of the origin

3条回答
  •  春和景丽
    2021-01-11 15:57

    The spec says that Referer can't include a fragment identifier (per ABNF). See RFC 2616, Section 14.36.

提交回复
热议问题