Skip to content

dep-id: fix double encoding in get id #839

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

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

ruyadorno
Copy link
Member

Encode should happen only during at joinDepIDTuple time and not on getTuple. This was causing DepIDs generated with getId to be double encoded.

Fixes the issue and update the test fixtures and snapshots to use characters that actually need escaping.

Refs: https://github.com/vltpkg/statusboard/issues/64

Encode should happen only during at `joinDepIDTuple` time and not
on `getTuple`. This was causing DepIDs generated with `getId` to
be double encoded.

Fixes the issue and update the test fixtures and snapshots to use
characters that actually need escaping.

Refs: vltpkg/statusboard#64
@ruyadorno ruyadorno requested a review from lukekarrys June 6, 2025 20:51
Copy link

vercel bot commented Jun 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Jun 6, 2025 8:51pm

@ruyadorno ruyadorno enabled auto-merge (squash) June 6, 2025 20:52
@ruyadorno ruyadorno merged commit bc99269 into main Jun 6, 2025
13 checks passed
@ruyadorno ruyadorno deleted the ruyadorno/fix-dep-id-double-encoding branch June 6, 2025 20:58
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.

2 participants