forked from dasrick/go-teams-notify
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow multiple valid webhook URL FQDNs
Based on research/testing, it appears that both of these two FQDNs are interchangeable: - outlook.office.com - outlook.office365.com This commit makes the following changes to accept either FQDN as a valid webhook prefix: - update the isValidWebhookURL validation function to accept either one as a valid webhook prefix - update the TestTeamsClientSend table test to include outlook.office365.com variations of existing test cases specific to outlook.office.com refs dasrick#3
- Loading branch information
Showing
2 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters