Skip to content

Normalization issue with # (%23) #295

Description

@matthieuprat

Not sure this is an actual bug:

Addressable::URI.parse("http://example.org?foo=%E9%23").normalize.query 

This returns the string foo=%E9#. I would have expected foo=%E9%23.

Note that %E9 is the escaped version of the é character in ISO-8859-1, that is URI.escape('é'.encode('iso-8859-1')).

Is this the intended behavior?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions