We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
#30
console.log(urljoin('http://example.org', 'a//', 'b//', 'A//', 'B//')) // -> 'http://example.org/a/b/A//B/'
console.log(urljoin('http://example.org/x', '?a=1', '?b=2', '?c=3', '?d=4')) // -> http://example.org/x?a=1?b=2?c=3&d=4
console.log(urljoin('http://example.org/', ':foo:', 'bar')) // -> http://example.org/:foo://bar
The text was updated successfully, but these errors were encountered:
#30 is merged, let me know if we can close this
Sorry, something went wrong.
@jfromaniello : New PR which fixes this and the newly discovered issue: #35
Once that is merged, then we can close this.
And this is now otherwise good, but the package needs to be published to the npm registry, @jfromaniello . https://www.npmjs.com/package/url-join
@keskival sorry about that! just published v3 to npm
No branches or pull requests
#30
console.log(urljoin('http://example.org', 'a//', 'b//', 'A//', 'B//'))
// -> 'http://example.org/a/b/A//B/'
console.log(urljoin('http://example.org/x', '?a=1', '?b=2', '?c=3', '?d=4'))
// -> http://example.org/x?a=1?b=2?c=3&d=4
console.log(urljoin('http://example.org/', ':foo:', 'bar'))
// -> http://example.org/:foo://bar
The text was updated successfully, but these errors were encountered: