Actions
Bug #11149
closedURI.parse keeps '?' for query and '#' for fragment even if they are empty
Description
p = URI.parse('http://example.com/path?query#fragment')
p.query = ''
p.fragment = ''
puts p.to_s
will output "http://example.com/path?#" but I think it should be "http://example.com/path" without '?' and '#'
Actions
Like0
Like0Like0Like0Like0