mirror of https://github.com/caronc/apprise
Slight bulletproofing to IFTTT regex handling (#436)
parent
81d1ea72bc
commit
e20fce630d
|
@ -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…
Reference in New Issue