Skip to content

Supports empty path for slack DSN #39586

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

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

odolbeau
Copy link
Contributor

@odolbeau odolbeau commented Dec 21, 2020

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets
License MIT

It's actually not possible to use a Slack DSN inspired by the documentation, ie: slack://TOKEN@default?channel=CHANNEL cause the path is null (must be /).

This PR allows to not specify a path.

@jderusse
Copy link
Member

Did you cheked if other bridges have the same issue?

@odolbeau
Copy link
Contributor Author

@jderusse Good question! 😅
It looks like everything is fine for others transports. 👌
This "issue" have been introduced to deal with slack DSN change between 5.0 & 5.2, that's why it's the only impacted transport.

@chalasr
Copy link
Member

chalasr commented Dec 21, 2020

Good catch, thanks Olivier.

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

Successfully merging this pull request may close these issues.

5 participants