Bug 963668 - remove unescaping in CSP logging to prevent early return from thrown exceptions. r=grobinson

This commit is contained in:
Sid Stamm 2014-05-29 16:41:00 +02:00
parent 0a52cde5de
commit 9b37fabb73

View File

@ -647,7 +647,7 @@ ContentSecurityPolicy.prototype = {
}
policy.log(WARN_FLAG, violationMessage,
(aSourceFile) ? aSourceFile : null,
(aScriptSample) ? decodeURIComponent(aScriptSample) : null,
(aScriptSample) ? aScriptSample : null,
(aLineNum) ? aLineNum : null);
},