Skip to content

Firefly III: a personal finances manager

Fix https://github.com/firefly-iii/firefly-iii/issues/12081

James Colef01a56f467dd
diff --git a/app/Support/Notifications/UrlValidator.php b/app/Support/Notifications/UrlValidator.php
index c7b82a32d4..541bc703e4 100644
--- a/app/Support/Notifications/UrlValidator.php
+++ b/app/Support/Notifications/UrlValidator.php
@@ -34,6 +34,7 @@ class UrlValidator
return
str_starts_with($url, 'https://hooks.slack.com/services/')
|| str_starts_with($url, 'https://discord.com/api/webhooks/')
+ || str_starts_with($url, 'https://discordapp.com/api/webhooks/')
|| str_ends_with($url, '/slack');
}
}