Skip to content
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

Prevent referrers from being sent #6155

Merged
merged 2 commits into from
Oct 20, 2019
Merged

Prevent referrers from being sent #6155

merged 2 commits into from
Oct 20, 2019

Conversation

rugk
Copy link
Contributor

@rugk rugk commented Feb 15, 2018

Fix #6147

eras added a commit to eras/matrix-react-sdk that referenced this pull request Oct 20, 2019
An alternative fix to element-hq/element-web#6147 which for some reason
the PR element-hq/element-web#6155 is not yet merged.

The key difference is that the riot-web PR element-hq/element-web#6155
uses HTML meta header for noreferrer, while this one adds the
rel-attribute to include the noreferrer keyword in both user-created
links as well as links converted from incoming events.

I guess it's up to the maintainers then to pick and choose, but please
do ;).
@ara4n
Copy link
Member

ara4n commented Oct 20, 2019

lgtm - thanks @rugk, and sorry that we completely missed the PR.

@ara4n ara4n merged commit c219be1 into element-hq:develop Oct 20, 2019
@rugk rugk deleted the patch-3 branch October 20, 2019 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Referrer Policy to prevent referrers from being sent
2 participants