quick fix

This commit is contained in:
Miroslav Stampar 2011-10-20 08:28:57 +00:00
parent 1cec29925c
commit 12a7fd4054

View File

@ -2716,7 +2716,7 @@ def removeReflectiveValues(content, payload, suppressWarning=False):
retVal = content
if all([content, payload]) and isinstance(content, unicode) and kb.reflectiveMechanism:
payload = urldecode(payload.replace(PAYLOAD_DELIMITER, ''))
payload = getUnicode(urldecode(payload.replace(PAYLOAD_DELIMITER, '')))
regex = filterStringValue(payload, r'[A-Za-z0-9]', REFLECTED_NON_ALPHA_NUM_REGEX)