Skip to content
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

Fix Windows support for mapped and built-in URLs #43

Closed
wants to merge 1 commit into from
Closed

Fix Windows support for mapped and built-in URLs #43

wants to merge 1 commit into from

Conversation

mscdex
Copy link
Contributor

@mscdex mscdex commented Dec 28, 2011

... such as "/users/edit" and "/users/1/foo"

Fixes #41

@tj
Copy link
Member

tj commented Dec 28, 2011

we definitely shouldn't be inlining a util like this, why cant we just arr.join('/') or similar

@mscdex
Copy link
Contributor Author

mscdex commented Dec 28, 2011

Yeah I know inlining isn't ideal, but path.join does more than just arr.join('/'). It's your call, but this is definitely a significant issue on Windows.

@tj
Copy link
Member

tj commented Dec 28, 2011

yeah I know, I shouldn't have been using join() for anything url related, definitely a bug on my part

@tj tj closed this in 4572adf Dec 28, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

some routes not working?
2 participants