You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…bbuh)
This PR was merged into the 5.4 branch.
Discussion
----------
[Validator] allow more unicode characters in URL paths
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix#54937
| License | MIT
Commits
-------
eba88f8 allow more unicode characters in URL paths
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
The text was updated successfully, but these errors were encountered: