From 965d7eee17448a5beeb1d3b8e3383015bd1e7886 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 26 Oct 2012 00:06:15 +0200 Subject: [PATCH] Minor bug fix for a reflection removal mechanism --- 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 c8a4c2149..245324d8c 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2680,7 +2680,7 @@ def removeReflectiveValues(content, payload, suppressWarning=False): value = value.replace(2 * REFLECTED_REPLACEMENT_REGEX, REFLECTED_REPLACEMENT_REGEX) return value - payload = getUnicode(urldecode(payload.replace(PAYLOAD_DELIMITER, ''))) + payload = getUnicode(urldecode(payload.replace(PAYLOAD_DELIMITER, ''), convall=True)) regex = _(filterStringValue(payload, r"[A-Za-z0-9]", REFLECTED_REPLACEMENT_REGEX.encode("string-escape"))) if regex != payload: