4 ms·
I don't know about the spec, but in practice, you never get the referer data even when traffic flows from HTTPS to HTTPS.
by ComputerGuru 15y ago
I don't know about the spec, but in practice, you never get the referer data even when traffic flows from HTTPS to HTTPS.
- fl3tch 15y agoThis is actually up to the client. In Firefox about:config, network.http.sendSecureXSiteReferrer is set to true by default, so it does send it, but you can turn it off.
- tonfa 15y agoGoogle decides what the referrer is since it redirects first to a url it controls (downgrading to http if necessary).
- thezilch 15y agoIn practice, this is not true. As for spec [0]: Clients SHOULD NOT include a Referer header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol. [0] http://tools.ietf.org/html/rfc2616#section-15.1.3 http://tools.ietf.org/html/rfc2616#section-15.1.3
- cpeterso 15y agoUnless I'm missing something, that section only addresses HTTPS -> HTTP referrals, not HTTPS -> HTTPS.
- thezilch 15y agoI don't know of such a section, there is simply a section on Referer[sic] request-headers [0], at large. HTTP -> HTTP and HTTPS -> HTTPS are implied, if the only stated consideration is HTTPS -> HTTP referrals. HTTPS -> HTTPS Referer works on Google Search, which is usually of the most concern. [0] http://tools.ietf.org/html/rfc2616#section-14.36 http://tools.ietf.org/html/rfc2616#section-14.36
- yaix 15y agoRight. The article says this: "Additionally, using HTTPS helps providers like Google remove information from the referrer string."
- tonfa 15y agoYes, just checked, they strip the keywords from the referrer when using https.