diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-02-28 02:45:44 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-02-28 02:45:44 +0100 |
commit | 31a1ac1cfe5ee604692e7ddf80bb7400a664d27a (patch) | |
tree | 24f448e8307c1e09c6128fa5a2c74d0b27e62609 /module | |
parent | [misc] parse_html_form(): ignore comments (diff) | |
download | pyload-31a1ac1cfe5ee604692e7ddf80bb7400a664d27a.tar.xz |
[misc] parse_html_form(): ignore comments (2)
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/misc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py index bcd9e2d9b..8dbe25dbe 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.28" + __version__ = "0.29" __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).*?>)([^<]*(?=</\2)|)', - re.sub(r'<!--.+-->', "", form.group('CONTENT'), 0 , re.I | re.S), re.I | re.S): + re.sub(r'<!--.+?-->', "", form.group('CONTENT'), 0 , re.I | re.S), 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)) |