-
According to https://url.spec.whatwg.org/#file-state a file URI can have a fragment and query string, so just ignore them and don't raise an invalid URI error. Fixes: #3050
b504cc08
According to https://url.spec.whatwg.org/#file-state a file URI can have a fragment and query string, so just ignore them and don't raise an invalid URI error. Fixes: #3050