Commit cec8566
committed
Check scheme before attempting to rewrite.
This avoids "uri.host is explosive" errors in the logs on URIs like
about:startpage. This check already happens in https-everywhere.js before
calling replaceChannel, but this other path into rewrittenURI wasn't checked
previously.1 parent 31e70c9 commit cec8566
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
| |||
0 commit comments