summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-12-31 19:31:08 +0100
committermathieui <mathieui@mathieui.net>2021-01-02 14:07:16 +0100
commitc9fe8f0737a3f80aa58bc20403f9debeb72fb684 (patch)
tree7c1b6ff391951b39dfba5a56119c5d4b4c15f3c7 /plugins
parentaea95e43436d4a04d27d7eff3e26d17c58f07692 (diff)
downloadpoezio-c9fe8f0737a3f80aa58bc20403f9debeb72fb684.tar.gz
poezio-c9fe8f0737a3f80aa58bc20403f9debeb72fb684.tar.bz2
poezio-c9fe8f0737a3f80aa58bc20403f9debeb72fb684.tar.xz
poezio-c9fe8f0737a3f80aa58bc20403f9debeb72fb684.zip
Add aesgcm:// urls to the /link plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/link.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/link.py b/plugins/link.py
index bb5dba94..4961d5ef 100644
--- a/plugins/link.py
+++ b/plugins/link.py
@@ -87,7 +87,7 @@ from poezio.xhtml import clean_text
from poezio import common
from poezio import tabs
-url_pattern = re.compile(r'\b(?:http[s]?://(?:\S+))|(?:magnet:\?(?:\S+))\b',
+url_pattern = re.compile(r'\b(?:http[s]?://(?:\S+))|(?:magnet:\?(?:\S+))|(?:aesgcm://(?:\Z+))\b',
re.I | re.U)
app_mapping = {
'Linux': 'xdg-open',