summaryrefslogtreecommitdiff
path: root/modules/libpref
diff options
context:
space:
mode:
authorMoonchild <wolfbeast@users.noreply.github.com>2015-06-19 18:43:31 +0200
committerMoonchild <wolfbeast@users.noreply.github.com>2015-06-19 18:43:31 +0200
commita736ec4d283ca87f4aeeace5f119ed7f4f9581c4 (patch)
tree491b2f70c4a5882f094fd241045cf68dc41b6611 /modules/libpref
parenta67e2abeb283e34a2995c89bd1fd7e67ddd169c0 (diff)
parent2abbc988a66cf8a5de3cdef0ae060e839d84f4f1 (diff)
downloadpalemoon-gre-a736ec4d283ca87f4aeeace5f119ed7f4f9581c4.tar.gz
Merge pull request #106 from Axiomatic-/Single-Word-Fix
Fix Pale Moon issue with single word searches when behind proxies.
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/src/init/all.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/libpref/src/init/all.js b/modules/libpref/src/init/all.js
index 27db50d44..c838048e8 100644
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -864,6 +864,14 @@ pref("network.protocol-handler.external.disks", false);
pref("network.protocol-handler.external.afp", false);
pref("network.protocol-handler.external.moz-icon", false);
+// Don't allow external protocol handlers for common typos.
+pref("network.protocol-handler.external.ttp", false); // http
+pref("network.protocol-handler.external.ttps", false); // https
+pref("network.protocol-handler.external.tps", false); // https
+pref("network.protocol-handler.external.ps", false); // https
+pref("network.protocol-handler.external.ile", false); // file
+pref("network.protocol-handler.external.le", false); // file
+
// An exposed protocol handler is one that can be used in all contexts. A
// non-exposed protocol handler is one that can only be used internally by the
// application. For example, a non-exposed protocol would not be loaded by the