diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-06-02 23:02:43 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-06-02 23:02:43 +0200 |
commit | 547d236a05f6c9759204dc904ac453298c8c7ec6 (patch) | |
tree | 35a96df8e6198682b5e6ce7aefd2af4def9008ee | |
parent | d6ba7acc8414cc0e7fc25798150fd575828638f9 (diff) | |
download | basilisk-547d236a05f6c9759204dc904ac453298c8c7ec6.tar.gz |
[ui] Encode braille space
-rw-r--r-- | basilisk/base/content/browser.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basilisk/base/content/browser.js b/basilisk/base/content/browser.js index de69eae..6613942 100644 --- a/basilisk/base/content/browser.js +++ b/basilisk/base/content/browser.js @@ -2424,9 +2424,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) |