diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-26 12:35:55 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-26 12:35:55 +0200 |
commit | db90929b347689af4a89d8e82ae1424980eee1b9 (patch) | |
tree | dfca9835e1a84437a509fa710b82fc3da852a96a | |
parent | dbfedf8462c6db4647ad7e072f3875c9a4124c6a (diff) | |
download | UXP-db90929b347689af4a89d8e82ae1424980eee1b9.tar UXP-db90929b347689af4a89d8e82ae1424980eee1b9.tar.gz UXP-db90929b347689af4a89d8e82ae1424980eee1b9.tar.lz UXP-db90929b347689af4a89d8e82ae1424980eee1b9.tar.xz UXP-db90929b347689af4a89d8e82ae1424980eee1b9.zip |
Bug 1185365 - Correctly deal with full URLs in the cookie exceptions dialog
-rw-r--r-- | application/palemoon/components/preferences/permissions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/permissions.js b/application/palemoon/components/preferences/permissions.js index f4b78022c..03e07a916 100644 --- a/application/palemoon/components/preferences/permissions.js +++ b/application/palemoon/components/preferences/permissions.js @@ -89,7 +89,7 @@ var gPermissionManager = { // If the uri doesn't successfully parse, try adding a http:// and parsing again let uri; try { - let uri = Services.io.newURI(input_url, null, null); + uri = Services.io.newURI(input_url, null, null); } catch(ex) { uri = Services.io.newURI("http://" + input_url, null, null); } |