diff options
author | Arno-Nymous <Arno-Nymous@users.noreply.github.com> | 2016-05-02 19:28:29 +0200 |
---|---|---|
committer | Arno-Nymous <Arno-Nymous@users.noreply.github.com> | 2016-05-02 19:32:03 +0200 |
commit | 899785de1db6d580a546bbca5aecc1246c2a9b12 (patch) | |
tree | 2fc44769fb46e298e6d156e22a886111626f4976 | |
parent | [EuroshareEu] Fix #2446 (diff) | |
download | pyload-899785de1db6d580a546bbca5aecc1246c2a9b12.tar.xz |
[UnRar] Fix problem with password protected archives
Some tiny error in a regular expression caused unexpected behavior with password
protected archives
-rw-r--r-- | module/plugins/internal/UnRar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py index 07f3b0f23..3b1d7b290 100644 --- a/module/plugins/internal/UnRar.py +++ b/module/plugins/internal/UnRar.py @@ -28,7 +28,7 @@ class UnRar(Extractor): _RE_PART = re.compile(r'\.(part|r)\d+(\.rar|\.rev)?(\.bad)?', re.I) _RE_FIXNAME = re.compile(r'Building (.+)') - _RE_FILES = re.compile(r'^(.)(\s*[\w\-.]+)\s+(\d+\s+)+(?:\d+\%\s+)?[\d\-]{8}\s+[\d\:]{5}', re.I | re.M) + _RE_FILES = re.compile(r'^(.)(\s*[\w\-.]+)\s+(\d+\s+)+(?:\d+\%\s+)?[\d\-]{8,}\s+[\d\:]{5}', re.I | re.M) _RE_BADPWD = re.compile(r'password', re.I) _RE_BADCRC = re.compile(r'encrypted|damaged|CRC failed|checksum error|corrupt', re.I) _RE_VERSION = re.compile(r'(?:UN)?RAR\s(\d+\.\d+)', re.I) |