Solved: Re: Can Regex expression be fetched dynamically fr…
Can Regex expression be fetched dynamically from KVM? Getting error at the time of deployment.
Below is the dynamic value fetched:
<RegularExpressionProtection name="RE-RegularExpression-Check">
<DisplayName>RE-RegularExpression-Check</DisplayName>
<Properties/>
<Source>request</Source>
<IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
<Variable name="request.content">
<Pattern ignoreCase="true">{sqlRegexPattern}</Pattern>
</Variable>
</RegularExpressionProtection>
Below is the value present in KVM:
[\s]*((select)|(delete)|(exec)|(drop\s*table)|(insert)|(shutdown)|(update))
Please help!!!
Read more here: Source link
