Fix/Loop Protect - Remove noprotect from saved code

This commit is contained in:
Stuart
2016-06-14 00:25:42 +01:00
parent 9ac80998a7
commit b2e2eaa594
3 changed files with 12 additions and 3 deletions

View File

@@ -12,12 +12,13 @@ window.common = (function(global) {
replaceScriptTags,
replaceSafeTags,
replaceFormActionAttr,
replaceFccfaaAttr
replaceFccfaaAttr,
replaceNoprotect
} = common;
const queryRegex = /^(\?|#\?)/;
function encodeFcc(val) {
return replaceScriptTags(replaceFormActionAttr(val));
return replaceScriptTags(replaceFormActionAttr(replaceNoprotect(val)));
}
function decodeFcc(val) {