From 03c3f83893f93d1a39a63a796cafc49a5d34b9e7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 6 Jun 2011 13:34:49 +0000 Subject: [PATCH] minor fix --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 0c90dbad9..ce75fa6a2 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -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)