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

Handle paths that starts with double slashes #153

Merged
merged 1 commit into from
Nov 15, 2020
Merged

Conversation

tirr-c
Copy link
Collaborator

@tirr-c tirr-c commented Nov 12, 2020

cc http-rs/tide#733

Before, pathnames that start with two slashes, like //foo and //, are parsed
incorrectly as protocol-relative ones. This PR fixes this.

@tirr-c tirr-c added the bug Something isn't working label Nov 12, 2020
@jbr
Copy link
Member

jbr commented Nov 12, 2020

Implementation looks good to me. Is this actually valid by spec?

@jbr
Copy link
Member

jbr commented Nov 15, 2020

merging with failing lint. failure is unrelated and addressed in #155

@jbr jbr merged commit 234a4f0 into main Nov 15, 2020
@delete-merged-branch delete-merged-branch bot deleted the path-double-slashes branch November 15, 2020 00:35
jbr added a commit that referenced this pull request Dec 5, 2020
jbr added a commit that referenced this pull request Dec 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants