summaryrefslogtreecommitdiff
path: root/netwerk
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-12-08 18:02:29 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-03 01:03:50 +0200
commit1886b268d7b572bfd1b3a70b0947a0c79c72f411 (patch)
treefa68718db16972d4b9beb47b698f65c8e398d99a /netwerk
parent6be1a97ba044f0bec7d6f9f4ad585ebba54d9c37 (diff)
downloaduxp-1886b268d7b572bfd1b3a70b0947a0c79c72f411.tar.gz
[Network] Escape external protocol handler URLs
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/base/nsINetUtil.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/netwerk/base/nsINetUtil.idl b/netwerk/base/nsINetUtil.idl
index 800a9ae905..1b5de18b61 100644
--- a/netwerk/base/nsINetUtil.idl
+++ b/netwerk/base/nsINetUtil.idl
@@ -167,6 +167,9 @@ interface nsINetUtil : nsISupports
/** Skip C0 and DEL from unescaping */
const unsigned long ESCAPE_URL_SKIP_CONTROL = 1 << 15;
+ /** %XX-escape external protocol handler URL */
+ const unsigned long ESCAPE_URL_EXT_HANDLER = 1 << 17;
+
/**
* %XX-Escape invalid chars in a URL segment.
*