-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Should hyperlink downloading consider the referrer policy? #5623
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
Comments
Yes. I think this is a symptom of #5548. The |
I see, you're saying we should not have a separate path for this, like the current spec has? |
Correct, it leads to a number of bugs with redirects and such. |
Although I suspect @annevk is right that we should overhaul downloading more thoroughly, this particular issue is tightly scoped enough that someone could make a good contribution on it in isolation. To do so:
|
It seems like https://html.spec.whatwg.org/multipage/links.html#downloading-hyperlinks doesn't consider the subject's referrerpolicy attribute. Seeing as how both
<a>
and<area>
have this attribute, and it is otherwise respected, it seems reasonable to respect it when downloading things.Do you agree @annevk?
The text was updated successfully, but these errors were encountered: