From 987f167e122b009a5f658fbafbce9bedc75591a3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 19 Oct 2012 11:03:54 +0200 Subject: [PATCH] Minor update --- lib/request/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/basic.py b/lib/request/basic.py index 664cd78e7..0620deb80 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -267,6 +267,6 @@ def processResponse(page, responseHeaders): match = re.search(regex, page) if match and PLACE.POST in conf.parameters: name, value = match.groups() - conf.parameters[PLACE.POST] = re.sub("(%s=)[^&]+" % name, r"\g<1>%s" % value, conf.parameters[PLACE.POST]) + conf.parameters[PLACE.POST] = re.sub("(?i)(%s=)[^&]+" % name, r"\g<1>%s" % value, conf.parameters[PLACE.POST]) if PLACE.POST in conf.paramDict and name in conf.paramDict[PLACE.POST]: conf.paramDict[PLACE.POST][name] = value