minor fix

This commit is contained in:
Miroslav Stampar 2011-06-06 13:34:49 +00:00
parent 89a7516c35
commit 03c3f83893

View File

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