Fix some parsing errors in extra::url

Fixes issue #8612.
auto merge of #8616 : kballard/rust/url-parse-errors, r=catamorphism

Fixes issue #8612.