URI.parse keeps '?' for query and '#' for fragment even if they are empty
ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]
Updated by naruse (Yui NARUSE) about 5 years ago
- Status changed from Open to Assigned
- Assignee set to naruse (Yui NARUSE)
As URL Standard, current behavior is correct.
But Google Chrome's behavior is like what you say.
I keep watching how W3C/WHATWG decide this behavior.