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

trurl: canonicalize the path #331

Merged
merged 1 commit into from
Aug 27, 2024
Merged

trurl: canonicalize the path #331

merged 1 commit into from
Aug 27, 2024

Conversation

bagder
Copy link
Member

@bagder bagder commented Aug 27, 2024

trurl now URL-decodes + URL-encodes the path so that %-sequences that can be expressed as ASCII are shown as ASCII and %-sequences are unified to lowercase hex etc.

Added test case to verify

Fixes #329

bagder added a commit that referenced this pull request Aug 27, 2024
trurl now URL-decodes + URL-encodes the path so that %-sequences that
can be expressed as ASCII are shown as ASCII and %-sequences are unified
to lowercase hex etc.

Added test case to verify

Fixes #329
Closes #331
@bagder bagder force-pushed the bagder/canon-path branch from 2451de5 to 817c31a Compare August 27, 2024 07:02
trurl now URL-decodes + URL-encodes the path so that %-sequences that
can be expressed as ASCII are shown as ASCII and %-sequences are unified
to lowercase hex etc.

Add test cases to verify

Fixes #329
Closes #331
@bagder bagder force-pushed the bagder/canon-path branch from 817c31a to 4e349e6 Compare August 27, 2024 07:07
@bagder bagder merged commit ee9ab20 into master Aug 27, 2024
11 checks passed
@bagder bagder deleted the bagder/canon-path branch August 27, 2024 07:17
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.

should trurl normalize the path?
1 participant