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

Issue with URLs containing & not being supported #63340

Open
LenaKorsakov opened this issue Jun 19, 2024 · 0 comments
Open

Issue with URLs containing & not being supported #63340

LenaKorsakov opened this issue Jun 19, 2024 · 0 comments

Comments

@LenaKorsakov
Copy link

LenaKorsakov commented Jun 19, 2024

  • Sourcegraph version: Version: 5.4.5099
  • Platform information: Mac OS, Windows, Chrome, Firefox

Description:

We have encountered an issue with Sourcegraph where URLs containing the & HTML entity are not supported correctly. This appears to be due to how Sourcegraph parses and interprets URLs.

Steps to Reproduce:

Create or identify a URL that includes query parameters separated by &.
Attempt to use this URL within Sourcegraph, such as in a search query or a shared link.
Example URL:

https://sourcegraph.example.com/search?q=context:global+repoName*&**amp**;patternType=regexp&sm=0

Expected Behavior:

Sourcegraph should correctly interpret & as & and parse the URL appropriately.

Actual Behavior:

Sourcegraph does not correctly parse the URL containing &, leading to broken links and failed searches.

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

No branches or pull requests

1 participant