-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate slashes "//" in urls when a part is empty #36
Comments
ugh, submitted before I wrote the issue |
as prior art, this is the same behavior as Node's built in
|
Thanks for reporting this. I just published v4 addressing this the same way that |
@jfromaniello this could have been documented much better than it is in the changelog. This also effects |
ooh, I didn't even think of that use case. I'll try to keep that in mind in the future too. For reference, here's Node's
|
I think I've reached a point in this library where every time I merge a PR I break someone else use case. I am trying to figure a way, I think to begin with we need a lot more of tests and specifications. |
url-join version 3.0.0
In more detail, I've got an array of bits of a url. Sometimes, parts are optional, so I set them to '' and assume the url joiner will throw away the empty bits
The text was updated successfully, but these errors were encountered: