summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-12-07 19:14:58 -0500
committerGaming4JC <g4jc@hyperbola.info>2021-01-09 14:11:58 -0500
commitb5e55511b60b6bd0b8c444859997c2fa45ded342 (patch)
tree0a508dcfdf1e95d7f254266c715e8709c75563ae
parent0ece720e9f07868d7cba75fd479d726ae282be35 (diff)
downloadiceweasel-uxp-b5e55511b60b6bd0b8c444859997c2fa45ded342.tar.gz
Backport UXP - [ui] Encode braille space
-rwxr-xr-xbase/content/browser.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/content/browser.js b/base/content/browser.js
index 24649f8..22838d1 100755
--- a/base/content/browser.js
+++ b/base/content/browser.js
@@ -2390,9 +2390,9 @@ function losslessDecodeURI(aURI) {
}
// Encode invisible characters (C0/C1 control characters, U+007F [DEL],
- // U+00A0 [no-break space], line and paragraph separator,
- // object replacement character) (bug 452979, bug 909264)
- value = value.replace(/[\u0000-\u001f\u007f-\u00a0\u2028\u2029\ufffc]/g,
+ // U+00A0 [no-break space], line and paragraph separator, braille space
+ // object replacement character) (bug 452979, bug 909264, bug 1629506)
+ value = value.replace(/[\u0000-\u001f\u007f-\u00a0\u2028\u2029\u2800\ufffc]/g,
encodeURIComponent);
// Encode default ignorable characters (bug 546013)