Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant