Skip to content

Commit cdd9885

Browse files
committed
slight bulletproofing to IFTTT regex handling
1 parent 81d1ea7 commit cdd9885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apprise/plugins/NotifyIFTTT.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def parse_native_url(url):
355355
result = re.match(
356356
r'^https?://maker\.ifttt\.com/use/'
357357
r'(?P<webhook_id>[A-Z0-9_-]+)'
358-
r'/?(?P<events>([A-Z0-9_-]+/?)+)?'
358+
r'((?P<events>(/[A-Z0-9_-]+)+))?'
359359
r'/?(?P<params>\?.+)?$', url, re.I)
360360

361361
if result:

0 commit comments

Comments
 (0)