summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-02-29 23:11:26 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-02-29 23:11:26 +0100
commit8f2481f458ca7888a34a781bf0cf115730562979 (patch)
tree4327b1579dca20e7d517cb4fc444d6b2c2db80d4 /module
parent[ReCaptcha] Add word warp (diff)
downloadpyload-8f2481f458ca7888a34a781bf0cf115730562979.tar.xz
[misc] fix #2367
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/misc.py4
1 files 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).*?>)([^<]*(?=</\2)|)',
- re.sub(r'<!--.+?-->', "", 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))