summaryrefslogtreecommitdiff
path: root/netwerk/base
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-12-08 18:02:29 +0000
committerMoonchild <moonchild@palemoon.org>2021-12-08 22:56:27 +0000
commitde80393e3e6b66f5032c36866de7ba6705c2864a (patch)
tree2c40fae73afab98133f9ec7fcc9802b1e89892c6 /netwerk/base
parent4e542b9bc7c333bc067ffe4319801231ce6e0698 (diff)
downloaduxp-de80393e3e6b66f5032c36866de7ba6705c2864a.tar.gz
[Network] Escape external protocol handler URLs
Diffstat (limited to 'netwerk/base')
-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.
*