Browse Source

Slight bulletproofing to IFTTT regex handling (#436)

pull/437/head
Chris Caron 3 years ago committed by GitHub
parent
commit
e20fce630d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apprise/plugins/NotifyIFTTT.py

2
apprise/plugins/NotifyIFTTT.py

@ -355,7 +355,7 @@ class NotifyIFTTT(NotifyBase):
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:

Loading…
Cancel
Save