mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 01:08:21 +00:00
Bug 233352 - Make ecmaUnescape work with lower-case encodes!
ChatZilla only. r=rginda
This commit is contained in:
parent
241e2b7c67
commit
61cd2b1f4d
@ -274,7 +274,7 @@ function ecmaUnescape(str)
|
||||
{
|
||||
function replaceEscapes(seq)
|
||||
{
|
||||
var ary = seq.match(/([\da-f]{1,2})(.*)|u([\da-f]{1,4})/);
|
||||
var ary = seq.match(/([\da-f]{1,2})(.*)|u([\da-f]{1,4})/i);
|
||||
if (!ary)
|
||||
return "<ERROR>";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user