better regex and now after we have that automatic switch off for reflective removal mechanism it's not so important to change it

This commit is contained in:
Miroslav Stampar 2011-05-30 20:18:30 +00:00
parent 23cec012d1
commit 89559d1b0a

View File

@ -302,7 +302,7 @@ EXCLUDE_UNESCAPE = ("WAITFOR DELAY ", " INTO DUMPFILE ", " INTO OUTFILE ", "CREA
REFLECTED_VALUE_MARKER = '__REFLECTED_VALUE__'
# Regular expression used for marking non-alphanum characters
REFLECTED_NON_ALPHA_NUM_REGEX = r'\W+'
REFLECTED_NON_ALPHA_NUM_REGEX = r'[^<>\\r\\n]+?'
# Chars which can be used as a failsafe values in case of too long URL encoding value
URLENCODE_FAILSAFE_CHARS = '()|,'