From a911e2501b8df683fc1e3b11b3f3177b3a617688 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 16 Dec 2013 21:09:03 -0500 Subject: [PATCH] Fixes #1514: added more doc. --- framework/yii/validators/UrlValidator.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/yii/validators/UrlValidator.php b/framework/yii/validators/UrlValidator.php index 4054a1e..4023e2a 100644 --- a/framework/yii/validators/UrlValidator.php +++ b/framework/yii/validators/UrlValidator.php @@ -16,6 +16,9 @@ use yii\helpers\Json; /** * UrlValidator validates that the attribute value is a valid http or https URL. * + * Note that this validator only checks if the URL scheme and host part are correct. + * It does not check the rest part of a URL. + * * @author Qiang Xue * @since 2.0 */