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?
fixing issue #39 - segment() won't append properly if path ended with…
This was a bug. It's fixed. Version 1.7.1 is released, containing the fix!