[Centaury] Encode braille space.

master
Fedor 2020-06-21 01:37:19 +03:00 committed by Fedor
parent 9701cfebe1
commit 0dc06d30ed
1 changed files with 3 additions and 3 deletions

View File

@ -2420,9 +2420,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)