We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
set_scheme
file://
Describe the bug
The scheme file will always have authority
file
but to set_scheme to file does not allow the file url to have the authority
file url
Therefore the following test will fail in this case
#[test] fn test_url() { { let mut url = Url::parse("file:///path/to/file.js").unwrap(); url.set_scheme("file").unwrap(); } }
Not sure if it is a bug or a intentional design
The text was updated successfully, but these errors were encountered:
It seems like a Rust Bug problem, I am interested in it and want try to solve this problem.
Sorry, something went wrong.
@lwz23 feel free to submit a PR
No branches or pull requests
Describe the bug
The scheme
file
will always have authoritybut to
set_scheme
to file does not allow thefile url
to have the authorityTherefore the following test will fail in this case
Not sure if it is a bug or a intentional design
The text was updated successfully, but these errors were encountered: