diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-15 12:51:04 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-15 12:51:04 +0200 |
commit | 1b4963fd734bbfb857593afaa103879d6c0e55eb (patch) | |
tree | 44e2af9abc71bd38c3f3d579e201281ba949c626 /application/palemoon/base | |
parent | cfa5951ea85357e119f397524710320a8aa85e83 (diff) | |
download | UXP-1b4963fd734bbfb857593afaa103879d6c0e55eb.tar UXP-1b4963fd734bbfb857593afaa103879d6c0e55eb.tar.gz UXP-1b4963fd734bbfb857593afaa103879d6c0e55eb.tar.lz UXP-1b4963fd734bbfb857593afaa103879d6c0e55eb.tar.xz UXP-1b4963fd734bbfb857593afaa103879d6c0e55eb.zip |
Fix flags for "loadURIWithFlags" in openLocation.js
Issue #121
Diffstat (limited to 'application/palemoon/base')
-rw-r--r-- | application/palemoon/base/content/openLocation.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/palemoon/base/content/openLocation.js b/application/palemoon/base/content/openLocation.js index 80d542954..6987abdf8 100644 --- a/application/palemoon/base/content/openLocation.js +++ b/application/palemoon/base/content/openLocation.js @@ -81,7 +81,8 @@ function open() switch (dialog.openWhereList.value) { case "0": var webNav = Components.interfaces.nsIWebNavigation; - var flags = webNav.LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP; + var flags = webNav.LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP | + webNav.LOAD_FLAGS_FIXUP_SCHEME_TYPOS; if (!mayInheritPrincipal) flags |= webNav.LOAD_FLAGS_DISALLOW_INHERIT_OWNER; browser.gBrowser.loadURIWithFlags(url, flags, null, null, postData); |