Closed
Description
Symfony version(s) affected: 3.4.8
Description
I have a query string in which multiple values for a single parameter are delimited by a comma ",". According to RFC 3986 this comma does not need to be escaped in the query string. However, when I try to generate routes using the URL generator, the comma seems to get encoded. Is this by design or is this an oversight?
For example, the following code:
$url = $urlGenerator->generate('routeName', array(
'category' => '1,2'
));
produces https://www.example.com/path?category=1%2C2 instead of https://example.com/path?category=1,2.