Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Unescaped anychar in Slack URL RegEx #477

Merged
merged 1 commit into from
Nov 9, 2021
Merged

Conversation

turbo
Copy link
Contributor

@turbo turbo commented Aug 4, 2021

The two . in the regex for slack are unescaped, which means they match more hostnames than hooks.slack.com (for example hooks-slack.com). This PR adds escape characters to prevent this.

Copy link
Contributor

@domanchi domanchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

@domanchi
Copy link
Contributor

domanchi commented Nov 9, 2021

@KevinHock : wanna merge this?

@KevinHock
Copy link
Collaborator

Oof, that is a good 🐛 fix!

@KevinHock KevinHock merged commit 067bb21 into Yelp:master Nov 9, 2021
@KevinHock
Copy link
Collaborator

Thanks for the ping! Always happy to merge @domanchi approved PRs ;)

@KevinHock
Copy link
Collaborator

I'll try and bump the version Thursday or sometime this weekend 🤜🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants