Skip to content

set_scheme should fail if url has host or port #366

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

Closed
wants to merge 1 commit into from

Conversation

tmccombs
Copy link
Contributor

@tmccombs tmccombs commented Jun 18, 2017

Fixes #278


This change is Reviewable

@tmccombs tmccombs force-pushed the file_scheme_change branch from e30bcfe to b909104 Compare June 18, 2017 06:47
@tmccombs tmccombs force-pushed the file_scheme_change branch from b909104 to 82f06b6 Compare June 18, 2017 06:49
@@ -327,6 +327,13 @@ fn issue_241() {
}

#[test]
fn issue_278() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure if this is the best place to put the unit test.

@SimonSapin
Copy link
Member

Thank you for the PR. The code looks ok at first glance, but this may not be the right change to. Let’s discuss in #278.

@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #517) made this pull request unmergeable. Please resolve the merge conflicts.

@djc
Copy link
Contributor

djc commented Aug 25, 2020

The test proposed in #278 seems to pass now, so I don't think we need this anymore. Let me know if you have a different opinion!

@djc djc closed this Aug 25, 2020
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.

Setting the scheme to "file" should fail if there's a host or port
4 participants