-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accidentally introduced in 0.8.0, as part of the mechanism that handles non-standard redirections to HTTP (#24). Without this fix, a malicious endpoint with a valid certificate could trick the extension into adding a site of its choice to the ignore list. 0.8.0 went live about a month ago, and this vulnerability is not known to have been exploited during that period.
- Loading branch information
1 parent
1215334
commit 68b8631
Showing
3 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
(() => { | ||
'use strict'; | ||
window.addEventListener('load', e => { | ||
browser.runtime.sendMessage({ | ||
tabLoaded: true | ||
}); | ||
browser.runtime.sendMessage({ | ||
tabLoaded: true | ||
}); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters