Is HTTP header Referer sent when going to a http page from a https page?

后端 未结 4 1771
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 22:47

After a few tests, I\'m starting to reach the conclusion that a browser does not send a Referer HTTP header when one clicks to a http page from a https one.

What sec

4条回答
  •  温柔的废话
    2020-11-29 23:50

    Reason: Sometimes SessionIDs are URL encoded. HTTP Pages can have cross site scripting which steals the session from the HTTPS communication. To prevent this, the referrer is not transmitted on the HTTPS to HTTP transition so that the URL encoded sessin ID can't be stolen.

提交回复
热议问题