From 5ee7fd785ad753ba3c4070eca010872255544cab Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 1 May 2015 00:48:08 +0200 Subject: [PATCH] Fixes #1235 --- lib/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 66cbc7b14..36a0b2909 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -273,7 +273,7 @@ ERROR_PARSING_REGEXES = ( META_CHARSET_REGEX = r'(?si).*]+charset="?(?P[^"> ]+).*' # Regular expression used for parsing refresh info from meta html headers -META_REFRESH_REGEX = r'(?si).*]+content="?[^">]+url=["\']?(?P[^\'">]+).*' +META_REFRESH_REGEX = r'(?si)(?!.*?]+content="?[^">]+url=["\']?(?P[^\'">]+).*' # Regular expression used for parsing empty fields in tested form data EMPTY_FORM_FIELDS_REGEX = r'(&|\A)(?P[^=]+=(&|\Z))'