Re: referer not working?

> On Jun 25, 2021, at 7:14 AM, Theodore W. Hall <twhall@twhall.com> wrote:
> 
> I find that the "referer" keyword still doesn't work, even after I navigate
> to the page to validate as https: and use https: for the validator.

Ah, I think the issue is default Referrer-Policy on different browsers. Most browsers now default to "strict-origin-when-cross-origin", so only the origin (home page) is sent as a referrer.

To ensure a full referrer is always sent, you can add a "referrerpolicy" attribute to the link. For example:

<a href="https://validator.w3.org/check?uri=referer"
   referrerpolicy="no-referrer-when-downgrade">
Validate
</a>

Cheers - Chuck

Received on Friday, 25 June 2021 14:50:50 UTC