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

Do not prepend a / if namespace is absolute. #2983

Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 8, 2015

If you provide namespace as /api/v1 it will end up using //api/v1.

As of this change, if namespace is absolute it will not prepend a slash.

If you provide `namespace` as `/api/v1` it will end up using `//api/v1`.

As of this change, if `namespace` is absolute it will not prepend a
slash.
@fivetanley
Copy link
Member

👍

fivetanley added a commit that referenced this pull request Apr 8, 2015
…mespace

Do not prepend a `/` if namespace is absolute.
@fivetanley fivetanley merged commit 9013d86 into emberjs:master Apr 8, 2015
@rwjblue rwjblue deleted the do-not-double-slash-absolute-namespace branch April 8, 2015 14:50
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.

2 participants