Closed
Description
Symfony version(s) affected
5.4.24
Description
When I use HttpClient with url which contain this data a part of path segment:
custom|2010-01-01 00:00:00|2023-06-15 05:50:35
I have got error from calling part because of wrongly url encoded data.
Issue is caused by this pull #49299
How to reproduce
Calling HttpClient::parseUrl('http://some.url/custom|2010-01-01 00:00:00|2023-06-15 05:50:35?a=b#c)'
should return result array:
Array
(
...
[path] => /custom%7C2010-01-01%2000:00:00%7C2023-06-15%2005:50:35
...
)
Possible Solution
No response
Additional Context
No response