From 6752e661649b13da341af834dff5543270ba360e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 11 May 2010 12:23:38 +0000 Subject: [PATCH] added charsetType=2 (integer) to queryOutputLength --- lib/utils/resume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/resume.py b/lib/utils/resume.py index 6f2c4c73b..f5c12b2e4 100644 --- a/lib/utils/resume.py +++ b/lib/utils/resume.py @@ -85,7 +85,7 @@ def queryOutputLength(expression, payload): dataToSessionFile("[%s][%s][%s][%s][" % (conf.url, kb.injPlace, conf.parameters[kb.injPlace], lengthExpr)) lengthExprUnescaped = unescaper.unescape(lengthExpr) - count, length = bisection(payload, lengthExprUnescaped) + count, length = bisection(payload, lengthExprUnescaped, charsetType=2) if length == " ": length = 0