From c9fe8f0737a3f80aa58bc20403f9debeb72fb684 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 31 Dec 2020 19:31:08 +0100 Subject: Add aesgcm:// urls to the /link plugin --- plugins/link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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', -- cgit v1.2.3