From 8f2481f458ca7888a34a781bf0cf115730562979 Mon Sep 17 00:00:00 2001 From: Nitzo Date: Tue, 1 Mar 2016 00:11:26 +0200 Subject: [misc] fix #2367 --- module/plugins/internal/misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py index 8dbe25dbe..dc2aa4517 100644 --- a/module/plugins/internal/misc.py +++ b/module/plugins/internal/misc.py @@ -38,7 +38,7 @@ except ImportError: class misc(object): __name__ = "misc" __type__ = "plugin" - __version__ = "0.29" + __version__ = "0.30" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -753,7 +753,7 @@ def parse_html_form(attr_str, html, input_names={}): action = parse_html_tag_attr_value("action", form.group('TAG')) for inputtag in re.finditer(r'(<(input|textarea).*?>)([^<]*(?=', "", form.group('CONTENT'), 0 , re.I | re.S), re.I | re.S): + re.sub(re.compile(r'', re.I | re.S), "", form.group('CONTENT')), re.I | re.S): name = parse_html_tag_attr_value("name", inputtag.group(1)) if name: value = parse_html_tag_attr_value("value", inputtag.group(1)) -- cgit v1.2.3