Skip to content

Preserve escaped slashes in the base path - #141

Merged
earthboundkid merged 2 commits into
gophertools:mainfrom
yuefdev:fix/escaped-base-path
Nov 9, 2026
Merged

earthboundkid merged 2 commits into
gophertools:mainfrom
yuefdev:fix/escaped-base-path

Conversation

@yuefdev

@yuefdev yuefdev commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Adding a relative path currently turns an escaped slash in the base URL into a path separator: /a%2Fb/ plus c becomes /a/b/c.

This keeps RawPath alongside the resolved path. Added two regressions, including parent-path resolution. Full race tests and go vet ./... pass.

Signed-off-by: Yusuf Efe <120668197+yuefdev@users.noreply.github.com>
@earthboundkid
earthboundkid enabled auto-merge (squash) October 19, 2026 18:16
@earthboundkid
earthboundkid merged commit c043f10 into gophertools:main Nov 9, 2026
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