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

Appending segment does not prevent double slashes #39

Closed
kendaleiv opened this issue Aug 14, 2012 · 1 comment
Closed

Appending segment does not prevent double slashes #39

kendaleiv opened this issue Aug 14, 2012 · 1 comment

Comments

@kendaleiv
Copy link

new URI('/myApp/').segment('test').toString() // "/myApp//test"

I'd like the output to be "/myApp/test" -- is this a bug or is this the intended functionality in this case?

@rodneyrehm
Copy link
Member

This was a bug. It's fixed. Version 1.7.1 is released, containing the fix!

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

No branches or pull requests

2 participants