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

Fix pad URL leaks through HTTP referer header in HTML5-compatible browsers #2498

Closed
wants to merge 2 commits into from
Closed

Fix pad URL leaks through HTTP referer header in HTML5-compatible browsers #2498

wants to merge 2 commits into from

Commits on Jan 27, 2015

  1. Fix pad URL leaks through HTTP referer header in HTML5-compatible bro…

    …wsers
    
    Added `rel="noreferrer"` to automatically generated links in the main pad window as well as the chat window.
    
    `rel="noreferrer"` is part of the HTML5 standard. While browser support isn't 100%, it's better than nothing. Future alternative solutions with wider browser support, such as intermediary redirect pages, are unaffected by this
    change.
    http://www.w3.org/TR/html5/links.html#link-type-noreferrer
    joelpurra committed Jan 27, 2015
    Configuration menu
    Copy the full SHA
    016aef1 View commit details
    Browse the repository at this point in the history
  2. Fix exported HTML URL/location leaks through HTTP referer header in H…

    …TML5-compatible browsers
    
    Exported HTML can, when loaded from disk or an online server, also leak the location. Applying the `rel="noreferrer"` HTML5 standard mitigate the problem for compatible browsers.
    http://www.w3.org/TR/html5/links.html#link-type-noreferrer
    joelpurra committed Jan 27, 2015
    Configuration menu
    Copy the full SHA
    4903528 View commit details
    Browse the repository at this point in the history