From e20fce630d55e4ca9b0a1e325a5fea6997489831 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Mon, 6 Sep 2021 13:51:32 -0400 Subject: [PATCH] Slight bulletproofing to IFTTT regex handling (#436) --- apprise/plugins/NotifyIFTTT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apprise/plugins/NotifyIFTTT.py b/apprise/plugins/NotifyIFTTT.py index c038a9e7..b735a4d0 100644 --- a/apprise/plugins/NotifyIFTTT.py +++ b/apprise/plugins/NotifyIFTTT.py @@ -355,7 +355,7 @@ class NotifyIFTTT(NotifyBase): result = re.match( r'^https?://maker\.ifttt\.com/use/' r'(?P[A-Z0-9_-]+)' - r'/?(?P([A-Z0-9_-]+/?)+)?' + r'((?P(/[A-Z0-9_-]+)+))?' r'/?(?P\?.+)?$', url, re.I) if result: