summaryrefslogtreecommitdiff
path: root/xpcom/io
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-15 19:52:56 -0400
committerGitHub <noreply@github.com>2018-04-15 19:52:56 -0400
commitdbc064932f3064b2b5b44e5565b66606c383f27e (patch)
treed31e63f2fa42dcea7b240cc4f6c3f6f1966db8f6 /xpcom/io
parent8aed6716054b39188a9dbfbe5c42b7e2eddb86d3 (diff)
parenta8d9b4d1947456b90cb4dd454a4f3e34027d5d3f (diff)
downloaduxp-dbc064932f3064b2b5b44e5565b66606c383f27e.tar.gz
Merge pull request #171 from janekptacijarabaci/js_location_hash_1
Fix: no escape single quote in location.hash
Diffstat (limited to 'xpcom/io')
-rw-r--r--xpcom/io/nsEscape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpcom/io/nsEscape.cpp b/xpcom/io/nsEscape.cpp
index f16edc4ce7..117e20d601 100644
--- a/xpcom/io/nsEscape.cpp
+++ b/xpcom/io/nsEscape.cpp
@@ -346,7 +346,7 @@ static const uint32_t EscapeChars[256] =
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0x
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 1x
- 0,1023, 0, 512,1023, 0,1023, 112,1023,1023,1023,1023,1023,1023, 953, 784, // 2x !"#$%&'()*+,-./
+ 0,1023, 0, 512,1023, 0,1023, 624,1023,1023,1023,1023,1023,1023, 953, 784, // 2x !"#$%&'()*+,-./
1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1008,1008, 0,1008, 0, 768, // 3x 0123456789:;<=>?
1008,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023, // 4x @ABCDEFGHIJKLMNO
1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1008, 896,1008, 896,1023, // 5x PQRSTUVWXYZ[\]^_