You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!doctype html>
<a rel="noopener noreferrer" href="referer.php">Left Click Me (same window)</a>
<br/>
<a rel="noopener noreferrer" target="_blank" href="referer.php">Left Click Me (new window)</a>
referer.php
<!doctype html>
<div>
<?php
if (isset($_SERVER['HTTP_REFERER'])) {
echo 'You came from <span>' . $_SERVER['HTTP_REFERER'] . '</span>';
}
else {
echo 'I dont know where you came from.';
}
?>
</div>
visit the noreferer-test.html
Left-click each of the two links in turn, and compare the results.
Expected results
Both links should result in 'I dont know where you came from'
Actual results
The link with target="_blank" leaks the referer when e10s is enabled.
@MrAlex94 This can be fixed by porting the patches from Mozilla bug 1420702 . I have tried to do it on top of patches from #832 , and so far it seems to be working, so when/if that pull request gets merged I can open a pull request for this.
The text was updated successfully, but these errors were encountered:
Waterfox 56.2.6
new profile
Steps to reproduce
noreferer-test.html
referer.php
visit the
noreferer-test.html
Left-click each of the two links in turn, and compare the results.
Expected results
Both links should result in 'I dont know where you came from'
Actual results
The link with
target="_blank"
leaks the referer when e10s is enabled.@MrAlex94 This can be fixed by porting the patches from Mozilla bug 1420702 . I have tried to do it on top of patches from #832 , and so far it seems to be working, so when/if that pull request gets merged I can open a pull request for this.
The text was updated successfully, but these errors were encountered: