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

Only strip query parameters and fragment for flake ref URLs #141

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Only strip query parameters and fragment for flake ref URLs #141

merged 1 commit into from
Aug 5, 2024

Conversation

uncenter
Copy link
Contributor

@uncenter uncenter commented Jun 17, 2024

There's no reason to strip these values for non-flake refs, as the comment here itself states: "Trim ? and # parts, which are special for flake-ref." Instead, this behavior was breaking the ability to open other non-flake ref links, like the following from the vscode-extensions section of Nixpkgs where essential query parameters were stripped:

CleanShot 2024-06-17 at 17 29 50@2x

@oxalica oxalica added C-bug Catagory: bug A-flake Area: flake related labels Aug 5, 2024
@oxalica oxalica merged commit ff9e2f0 into oxalica:main Aug 5, 2024
@uncenter uncenter deleted the pr-41371951 branch August 5, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-flake Area: flake related C-bug Catagory: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants