Remove relative path handling which was not needed
The original base relative path was introduced due to an erroneous test
where the URL started with three slashes: "https:///" instead of two,
which led to implementing handling for such cases but broke the two
slashes case.
This fix removes the base relative path handling because with two
slashes the path is anyway always relative to the host (aka absolute
URI, without host).
This reverts 216f62ea and part of 74b2fc7fSigned-off-by:
Vincent Petry <PVince81@yahoo.fr>
Showing
Please
register
or
sign in
to comment