Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Routing] build query string with PHP_QUERY_RFC3986 #19625

Closed
@MatTheCat

Description

@MatTheCat

UrlGenerator doesn't use http_build_query fourth parameter, thus encoding spaces as + because of the application/x-www-form-urlencoded media type.

As route extra parameters aren't used in a form context I think PHP_QUERY_RFC3986 should be used.

Twig does that already.

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