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? 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
So:
hostname: 'http://website.com' with url: 'page.html' => http://website.compage.html hostname: 'http://website.com/' with url: '/page.html' => http://website.com//page.html
hostname: 'http://website.com'
url: 'page.html'
http://website.compage.html
hostname: 'http://website.com/'
url: '/page.html'
http://website.com//page.html
I'd expect this module to remove and add slashes where necessary.
The text was updated successfully, but these errors were encountered:
If you use a package like https://www.npmjs.com/package/url-join to join the different parts here this problem would be solved.
Sorry, something went wrong.
Hi @ismay
Thanks for report.
e660120
added tests for #39
e8ed29c
👍
No branches or pull requests
So:
hostname: 'http://website.com'
withurl: 'page.html'
=>http://website.compage.html
hostname: 'http://website.com/'
withurl: '/page.html'
=>http://website.com//page.html
I'd expect this module to remove and add slashes where necessary.
The text was updated successfully, but these errors were encountered: