Skip to content

Query params double urlencode #296

@romainjanvier

Description

@romainjanvier

Hi,

I meet an issue with the method parseUrl of class Url. The query params are urldecoded twice, so when url contains %2b, it become a space char.

For exemple :
https://twitter.com/search?q=google%2B&src=typd&lang=en
become
https://twitter.com/search?q=google &src=typd&lang=en

In my case I can't get image in opengraph because it contains %2b in query param.

Thanks for this great lib.

Romain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions