Closed minight closed 3 years ago
When a target is supplied with a basepath of /, e.g. http://example.com/, we display a request being sent to http://example.com//foo.txt.
/
http://example.com/
http://example.com//foo.txt
however, this appears to be a visual bug, as our http library will collapse consecutive //.
//
The duplication likely occurs when when we concat the basepath / with the / prefixed path, http://example.com/ + /foo.txt when printing the result.
/foo.txt
it may be worthwhile either:
Issue reported by @NayrGames on twitter.
When a target is supplied with a basepath of
/
, e.g.http://example.com/
, we display a request being sent tohttp://example.com//foo.txt
.however, this appears to be a visual bug, as our http library will collapse consecutive
//
.The duplication likely occurs when when we concat the basepath
/
with the/
prefixed path,http://example.com/
+/foo.txt
when printing the result.it may be worthwhile either:
/
.//
Issue reported by @NayrGames on twitter.