Closed
Description
Symfony version(s) affected
>= 5.4.*
Description
I've automated import resources from an api which returned an url http://www.fivestarproduction.co.th/คนแซ่ลี้/
and the validation fails with it.
Works only when the path for this URL is urlencoded.
But if the link is working directly, it should be accepted by validator, no?
Copied random japanase symbol from alphabet and for example this url works: http://www.example.com/か/
How to reproduce
preg_match(sprintf(UrlValidator::PATTERN, 'http|https'), 'http://www.fivestarproduction.co.th/คนแซ่ลี้/') === 0
Possible Solution
No response
Additional Context
No response