markup-validator
markup-validator copied to clipboard
https://validator.w3.org/check?uri=referer no longer (?) checking actual referer, but my homepage
trafficstars
All my webpages contain this link, however I notice that all links now result in the checking of my home page, and not the actual referer. I'm sure this didn't use to be the case (but last checked long ago)
Same problem for me.
I have since discovered that this is not a problem with the validator, but due to the fact that modern browsers truncate the URI of the referer for security reasons. You can bypass this by adding referrerpolicy='unsafe-url' to the link. See here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy