Disable regex expressión using removeNeverAllowedRegex #127
Unanswered
JSebastianOspina
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
Im trying to disable this regex expressión, that is set in the _initNeverAllowedRefex method
Im usign the removeNeverAllowedRegex method like this
$antixss->removeNeverAllowedRegex(['src\=(?<wrapper>[\'|"]).*\.js(?:\g{wrapper})']);
However, the regex expression is not beign removed. Could anyone tell what am I doing wrong?
Thank you !!
Beta Was this translation helpful? Give feedback.
All reactions