Bug 1185365 - Correctly deal with full URLs in the cookie exceptions dialog

This commit is contained in:
janekptacijarabaci 2018-04-26 12:35:55 +02:00 • committed by Roy Tam
commit 994a317fec

View file

@ -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);
}