-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Browser extension not working when sourcegraphURL has a trailing slash #6521
Comments
The options page should use |
This would also help not mishandling the URL: #3990 |
Reported by a user at https://app.hubspot.com/contacts/2762526/company/557476528 that ran into this today: https://sourcegraph.slack.com/archives/C0117QDJACU/p1586987397001600 |
Just hit by another user at https://app.hubspot.com/contacts/2762526/company/557476528 a moment ago |
Fixes #6521 Avoids building invalid URLs when the base Sourcegraph URL has a trailing slash, across all platforms (browser extension, native integrations).
Fixes #6521 Avoids building invalid URLs when the base Sourcegraph URL has a trailing slash, across all platforms (browser extension, native integrations).
Fixed in browser extension v20.5.6.835. For native integrations, the fix will roll out in 3.16. |
Works correctly when there is no trailing slash:
Fails with unhelpful hints when there is a trailing slash:
We should gracefully handle the URL containing a trailing slash, or at the very least tell the user what the actual issue is.
The text was updated successfully, but these errors were encountered: