added charsetType=2 (integer) to queryOutputLength

This commit is contained in:
Miroslav Stampar 2010-05-11 12:23:38 +00:00
parent 430a25407b
commit 6752e66164

View File

@ -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