New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question in relation to Referrer-Policy header and its relation with link rel attribute #159
Comments
No, it's not.
No it's not, because as you said no relationship between the HTTP However, depending on your use case, this might not be a big deal, since any link with target="_blank" defaults to noopener. |
thank you so much @hackademix i got probably confused in my first ipothesis (header set to no-referrer equal rel=noreferrer), but i understand from what you say that they are not related at all |
They are related in that |
Thank you @annevk, this advice is really helpful. I just looked at your suggestion and we are going to immediately implement it. |
Hello,
i've doubt about relation to
Referrer-Policy
header and its relation with link rel attribute that i could not find described in any spec and i would welcome your clarification.Supposing 1: setting the
rel
property of an HTML link to the valuenoreferrer
is equivalent to set the same attribute tonoreferrer noopener
(becausenoreferrer
impliesnoopener
as stated explicitly stated in the specsSupposing 2: setting the HTTP
Referrer-Policy
header to the valueno-referrer
is equivalent to set therel
property of any HTML link served within the request to the valuenoopener
(is this statement correct?)Is it correct to expect that setting the HTTP
Referrer-Policy
header would obtain exactly same result of setting therel
any HTML link served within the request to the valuenoreferrer noopener
Thank you!
The text was updated successfully, but these errors were encountered: