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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

uncenter
Copy link

@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

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

Successfully merging this pull request may close these issues.

None yet

1 participant