File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ const HTTPS = {
4343 var isSTS = securityService . isSecureURI (
4444 CI . nsISiteSecurityService . HEADER_HSTS , channel . URI , 0 ) ;
4545 if ( blob === null ) {
46- // Abort insecure requests if HTTP Nowhere is on
47- if ( httpNowhereEnabled && channel . URI . schemeIs ( "http" ) && ! isSTS ) {
46+ // Abort insecure non-onion requests if HTTP Nowhere is on
47+ if ( httpNowhereEnabled && channel . URI . schemeIs ( "http" ) && ! isSTS && ! / \. o n i o n $ / . test ( channel . URI . host ) ) {
4848 IOUtil . abort ( channel ) ;
4949 }
5050 return false ; // no rewrite
Original file line number Diff line number Diff line change 4848 command =" https-everywhere-menuitem-resetToDefaults" class =" hide-on-disable" />
4949 <menuitem label =" &https-everywhere.menu.viewAllRules; "
5050 command =" https-everywhere-menuitem-viewAllRules" class =" hide-on-disable" />
51- <menuitem type =" checkbox" id =" http-nowhere-item" label =" &https-everywhere.menu.blockHttpRequests ; "
51+ <menuitem type =" checkbox" id =" http-nowhere-item" label =" &https-everywhere.menu.blockUnencryptedRequests ; "
5252 oncommand =" httpsEverywhere.toolbarButton.toggleHttpNowhere()" class =" hide-on-disable" />
5353 <menuseparator class =" hide-on-disable" />
5454 <menuitem type =" checkbox" id =" https-everywhere-counter-item" label =" &https-everywhere.menu.showCounter; "
Original file line number Diff line number Diff line change 2020<!ENTITY https-everywhere.menu.observatory "SSL Observatory Preferences">
2121<!ENTITY https-everywhere.menu.globalEnable "Enable HTTPS Everywhere">
2222<!ENTITY https-everywhere.menu.globalDisable "Disable HTTPS Everywhere">
23- <!ENTITY https-everywhere.menu.blockHttpRequests "Block all HTTP requests">
23+ <!ENTITY https-everywhere.menu.blockUnencryptedRequests "Block all unencrypted requests">
2424<!ENTITY https-everywhere.menu.showCounter "Show Counter">
2525<!ENTITY https-everywhere.menu.viewAllRules "View All Rules">
2626
You can’t perform that action at this time.
0 commit comments