.query and .fragment don't work as advertised #53

Closed
fidian opened this Issue Nov 14, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

fidian commented Nov 14, 2012

On the website, code like this doesn't operate as advertised.

URI("http://example.org/foo.html?hello=world").query('').fragment('').toString()

This is what I expect:

"http://example.org/foo.html"

This is what I really get:

"http://example.org/foo.html?#"
Owner

rodneyrehm commented Nov 15, 2012

Fixed and released with v1.8.1

rodneyrehm closed this Nov 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment