Skip to content

Conversation

@edgul
Copy link
Contributor

@edgul edgul commented Dec 17, 2025

If the original value didn't have a leading slash, we prepended "/-".
Only strip this prefix if it's still there after URL parsing.
If the ".." segments were resolved, the "/-" prefix may have been removed

@edgul
Copy link
Contributor Author

edgul commented Dec 17, 2025

Fixes issue 78: #78

@crowlKats crowlKats linked an issue Dec 18, 2025 that may be closed by this pull request
Copy link
Member

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crowlKats crowlKats merged commit af2d283 into denoland:main Dec 18, 2025
2 checks passed
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.

byte index 2 is out of bounds of /) at canonicalize_and_process.rs:102

3 participants