Strips forward slash from a URL in a pathname
Closed this issue · 1 comments
gajus commented
import parseUrl from 'parse-url';
console.log(parseUrl('http://gajus.com/http://gajus.com').pathname);
Produces /http:/gajus.com
instead of the expected /http://gajus.com
.
IonicaBizau commented
This has been fixed in 7.0.0. 😁