Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/filterValidation.js

Issue 29680696: [$csp4 adblockpluschrome] Issue 5241 - Add support for Content Security Policy filters (Closed)
Patch Set: Created Jan. 26, 2018, 6:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« lib/csp.js ('K') | « lib/csp.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterValidation.js
diff --git a/lib/filterValidation.js b/lib/filterValidation.js
index c1d81a7a860b13ad6956977b9e140c4112443689..5f3bd03116f71cd608ae2fa94476c1383bb03f82 100644
--- a/lib/filterValidation.js
+++ b/lib/filterValidation.js
@@ -129,7 +129,7 @@ let parseFilter =
exports.parseFilter = text =>
{
let filter = null;
- text = Filter.normalize(text);
+ text = Filter.stripJunk(text);
if (text)
{
« lib/csp.js ('K') | « lib/csp.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld