mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
@ -677,3 +677,6 @@ This validator checks if the input value is a valid URL.
|
||||
Defaults to `false`. Note that in order to use IDN validation you have to install and enable the `intl` PHP
|
||||
extension, otherwise an exception would be thrown.
|
||||
|
||||
> Note: The validator checks that URL scheme and host part is correct. It does NOT check the remaining parts of a URL
|
||||
and is NOT designed to protect against XSS or any other attacks. See [Security best practices](security-best-practices.md)
|
||||
article to learn more about threats prevention when developing applications.
|
||||
|
Reference in New Issue
Block a user