-
Notifications
You must be signed in to change notification settings - Fork 91
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
path.join #66
Comments
The general consensus is that path.join should be avoided for building uri's |
I created the following pull request if you would like to take on this fix. |
I was getting the same error with node v0.10.7 on a Mac (Snow Leopard) |
Gents, sorry I have been inactive on this issue. I'm not a fan of removing the path.join with string concatenation as it doesn't handle double slashes and things like that. I would like to have something more robust (ideally that supports both platforms). @paultanner @definitelycarter are you guys both running dbox on windows? |
I am using a mac osx (snow leopard) node v0.10.7. I appreciate that the suggested fix was intended ** on further investigation ** The version in the NPM repo worked without a change on debian linux. Paul |
Currently helper.url uses path.join to build a uri. This doesn't work in windows as path.join uses the path.sep which is "" in windows. Urls then get built like http:\google.com\anotherpath\
http://nodejs.org/api/path.html
http://nodejs.org/api/path.html#path_path_sep
The text was updated successfully, but these errors were encountered: