Enhanced core-validators docs

Closes #13485
This commit is contained in:
SilverFire - Dmitry Naumenko
2017-02-21 22:36:26 +02:00
parent 1b06898c26
commit 50927d0751
2 changed files with 7 additions and 0 deletions

View File

@ -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.