Commit 86c4620c authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Romain Bignon

[banquepopulaire] fix login cookies in javascript with spaces

There used to be "COTE = 'xxx'", now it's "COTE='xxx'", update regexp.
This site is really pathetic.

Closes: 41079@sibi
parent 36db0668
......@@ -226,7 +226,7 @@ class RedirectPage(LoggedPage, MyHTMLPage):
redirect_url =
for line in script.text.split('\r\n'):
m = re.match("^var (\w+) = [^']*'([^']*)'.*", line)
m = re.match("^var (\w+) ?= ?[^']*'([^']*)'.*", line)
if m:
args[] =
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment