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
GitHub Integration installation failed when name contains '
(single quote)
#69837
Comments
Assigning to @getsentry/support for routing ⏲️ |
The code for the URL slug creation is here: sentry/src/sentry/integrations/github/integration.py Lines 444 to 445 in 163b8b8
I suppose we have 2 options moving forward:
|
Routing to @getsentry/product-owners-settings-integrations for triage ⏲️ |
@aldy505 I guess you're saying Github uses a slightly different slugify implementation than us. We use the built in Django one but we could potentially add a wrapper around it for Github for this special case. That being said, it seems like there is a workaround of just renaming the app to get rid of the |
Yes.
No, I don't think that's a viable solution for everyone. Perhaps the easiest solution would be specifying our own Github App URL. If the Github App URL doesn't exists, we'll use the slugify function. |
@aldy505 what if you changed the name in your |
Maybe that will work, since only found 3 occurrences of |
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Steps to Reproduce
Create a GitHub App named
Something's New
, then install it.Expected Result
Installation successful, we're redirected to
https://github.com/apps/something-s-new
Actual Result
Instead, we're redirected into
https://github.com/apps/somethings-new
The app in question: https://github.com/apps/teknologi-umum-s-sentry
Product Area
Settings - Integrations
Link
No response
DSN
No response
Version
24.4.1
The text was updated successfully, but these errors were encountered: