Repository navigation
Try to parse command line argument as file names - #3365
Conversation
… when parsing as an absolute URL (without a base) fails. Previously, arguments were parsed as URLs with the current working directory converted to an URL and used as the base URL. This mostly worked for relative filenames, except that `?` and `#` had a special meaning and needed to be percent-encoded. Fix servo#3340.
|
Critic review: https://critic.hoppipolla.co.uk/r/2607 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
Whoops. |
The previous commit made #top be considered part of the file name in ../html/acid2.html#top
|
I have a one-line patch to rust-url that accomplishes the same thing. It may or may not be worse, but I'll post it here for you guys to decide. |
|
@cgaebel, no, |
|
Ok. |
|
But thanks for the help anyway! :) |
Try to parse command line argument as file names
… when parsing as an absolute URL (without a base) fails.
Previously, arguments were parsed as URLs with the current working directory converted to an URL and used as the base URL. This mostly worked for relative filenames, except that
?and#had a special meaning and needed to be percent-encoded.Fix #3340.
r? @metajack