From 89559d1b0a5f8cf1d5088b41d1ef0e925b181721 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 30 May 2011 20:18:30 +0000 Subject: [PATCH] better regex and now after we have that automatic switch off for reflective removal mechanism it's not so important to change it --- lib/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 798e03fbc..7ed897630 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -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 = '()|,'