Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
Do not process URLs that use file or ftp scheme (#11231)
Browse files Browse the repository at this point in the history
  • Loading branch information
koops76 authored and Hainish committed Jul 19, 2017
1 parent f6cf778 commit 8e302ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chromium/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ function onBeforeRedirect(details) {

// Registers the handler for requests
// See: https://github.com/EFForg/https-everywhere/issues/10039
wr.onBeforeRequest.addListener(onBeforeRequest, {urls: ["<all_urls>"]}, ["blocking"]);
wr.onBeforeRequest.addListener(onBeforeRequest, {urls: ["*://*/*"]}, ["blocking"]);


// Try to catch redirect loops on URLs we've redirected to HTTPS.
Expand Down
4 changes: 2 additions & 2 deletions chromium/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"tabs",
"cookies",
"storage",
"<all_urls>"
"*://*/*"
],
"version": "2017.7.18"
}
}

0 comments on commit 8e302ec

Please sign in to comment.