Minor update

This commit is contained in:
Miroslav Stampar 2012-10-19 11:05:10 +02:00
parent 987f167e12
commit 998eb70288

View File

@ -264,7 +264,7 @@ def processResponse(page, responseHeaders):
logger.info("parsed error message: '%s'" % msg)
for regex in (EVENTVALIDATION_REGEX, VIEWSTATE_REGEX):
match = re.search(regex, page)
match = re.search(regex, page, re.I)
if match and PLACE.POST in conf.parameters:
name, value = match.groups()
conf.parameters[PLACE.POST] = re.sub("(?i)(%s=)[^&]+" % name, r"\g<1>%s" % value, conf.parameters[PLACE.POST])