summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyload/api/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/api/__init__.py b/pyload/api/__init__.py
index 3da1e13e1..9c4740e82 100644
--- a/pyload/api/__init__.py
+++ b/pyload/api/__init__.py
@@ -52,7 +52,7 @@ def permission(bits):
return _Dec
-urlmatcher = re.compile(r"((https?|ftps?|xdcc|sftp):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+\-=\\\.&]*)", re.IGNORECASE)
+urlmatcher = re.compile(r"((https?|ftps?|xdcc|sftp):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+\-=\\\.&\[\]\|]*)", re.IGNORECASE)
class PERMS:
ALL = 0 # requires no permission, but login