mirror of
https://github.com/caronc/apprise.git
synced 2025-01-05 21:49:02 +01:00
Slight bulletproofing to IFTTT regex handling (#436)
This commit is contained in:
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
Block a user