Skip to content

fix(purl): make qualifier output stable - #72

Merged
oritwoen merged 1 commit into
mainfrom
fix/canonical-qualifiers
Aug 30, 2026
Merged

fix(purl): make qualifier output stable#72
oritwoen merged 1 commit into
mainfrom
fix/canonical-qualifiers

Conversation

@oritwoen

Copy link
Copy Markdown
Member

Object insertion order had no business deciding buildPURL() output. Qualifier keys are lowercased and sorted, while malformed keys or keys that collide after lowercasing fail instead of producing invalid output. Closes #66

@oritwoen oritwoen self-assigned this Aug 30, 2026
@oritwoen
oritwoen merged commit bc952c8 into main Aug 30, 2026
1 check passed
@oritwoen
oritwoen deleted the fix/canonical-qualifiers branch August 30, 2026 11:41
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.

buildPURL emits non-canonical qualifier keys and ordering

1 participant