Open
Description
Line 239
str = str.replace(new RegExp('"' + sKey + '"', 'g'), '"' + oKeys[sKey] + '"');
I think you might forget to escape the regEx characters here it should be:
str = str.replace(new RegExp(escapeRegExp('"' + sKey + '"'), 'g'), '"' + oKeys[sKey] + '"');
If not, when trying to decompress, this case /"("/
will corrupt the process. Resulted with error Uncaught SyntaxError: Invalid regular expression: /"("/: Unterminated group
Metadata
Metadata
Assignees
Labels
No labels