summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Plugin.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-02 12:30:04 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-02 12:30:04 +0200
commit4afeed04d2913b7635c5cd3917c90b928d53b151 (patch)
tree0fa16b60f9f7c9c73581a7ee3ab963ed24b97255 /module/plugins/internal/Plugin.py
parentMerge pull request #1933 from jansohn/stable (diff)
downloadpyload-4afeed04d2913b7635c5cd3917c90b928d53b151.tar.xz
Fix https://github.com/pyload/pyload/issues/1932
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-rw-r--r--module/plugins/internal/Plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py
index 6d94ca1e4..3b1f3575f 100644
--- a/module/plugins/internal/Plugin.py
+++ b/module/plugins/internal/Plugin.py
@@ -61,7 +61,7 @@ def fixurl(url, unquote=None):
unquote = newurl == url
newurl = html_unescape(newurl.decode('unicode-escape'))
- newurl = re.sub(r'[^:]/{2,}', '/', newurl).strip().lstrip('.')
+ newurl = re.sub(r'(?<!:)/{2,}', '/', newurl).strip().lstrip('.')
if not unquote:
newurl = urllib.quote(newurl)
@@ -228,7 +228,7 @@ def chunks(iterable, size):
class Plugin(object):
__name__ = "Plugin"
__type__ = "plugin"
- __version__ = "0.44"
+ __version__ = "0.45"
__status__ = "testing"
__pattern__ = r'^unmatchable$'