Skip to content

Commit

Permalink
Merge pull request #280 from atc0005/i262-refactor-regex-for-default-…
Browse files Browse the repository at this point in the history
…workflow-urls-redux

Refactor regex for default Workflow URLs (redux)
  • Loading branch information
atc0005 authored Jul 24, 2024
2 parents 7bb323c + 7a1c0df commit 2cafb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion send.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const (

// Known Workflow URL patterns for submitting messages to Microsoft Teams.
const (
WorkflowURLBaseDomain = `^https:\/\/(?:.*\.azure-api|logic\.azure)\.(?:com|net)`
WorkflowURLBaseDomain = `^https:\/\/(?:.*)(:?\.azure-api|logic\.azure)\.(?:com|net)`
)

// DisableWebhookURLValidation is a special keyword used to indicate to
Expand Down

0 comments on commit 2cafb07

Please sign in to comment.