Skip to content

Commit

Permalink
Slight bulletproofing to IFTTT regex handling (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc authored Sep 6, 2021
1 parent 81d1ea7 commit e20fce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apprise/plugins/NotifyIFTTT.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def parse_native_url(url):
result = re.match(
r'^https?://maker\.ifttt\.com/use/'
r'(?P<webhook_id>[A-Z0-9_-]+)'
r'/?(?P<events>([A-Z0-9_-]+/?)+)?'
r'((?P<events>(/[A-Z0-9_-]+)+))?'
r'/?(?P<params>\?.+)?$', url, re.I)

if result:
Expand Down

0 comments on commit e20fce6

Please sign in to comment.