mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-04 22:37:29 +09:00
Bug 1185365 - Correctly deal with full URLs in the cookie exceptions dialog
This commit is contained in:
parent
d03744a3a1
commit
994a317fec
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ var gPermissionManager = {
|
||||||
// If the uri doesn't successfully parse, try adding a http:// and parsing again
|
// If the uri doesn't successfully parse, try adding a http:// and parsing again
|
||||||
let uri;
|
let uri;
|
||||||
try {
|
try {
|
||||||
let uri = Services.io.newURI(input_url, null, null);
|
uri = Services.io.newURI(input_url, null, null);
|
||||||
} catch(ex) {
|
} catch(ex) {
|
||||||
uri = Services.io.newURI("http://" + input_url, null, null);
|
uri = Services.io.newURI("http://" + input_url, null, null);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue