summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 12:35:55 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 12:35:55 +0200
commitdb90929b347689af4a89d8e82ae1424980eee1b9 (patch)
treedfca9835e1a84437a509fa710b82fc3da852a96a /application/palemoon/components/preferences
parentdbfedf8462c6db4647ad7e072f3875c9a4124c6a (diff)
downloadUXP-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
Diffstat (limited to 'application/palemoon/components/preferences')
-rw-r--r--application/palemoon/components/preferences/permissions.js2
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);
}