From ee85eb46395a1d2ae6a0972acd20482547448080 Mon Sep 17 00:00:00 2001 From: mattab Date: Wed, 5 Feb 2014 08:12:09 +1300 Subject: Fixes #4626 Prevent warning on screen when user set valid host to a URL instead of hostname --- core/UrlHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/UrlHelper.php') diff --git a/core/UrlHelper.php b/core/UrlHelper.php index 4adaca1558..dbdb04dfd2 100644 --- a/core/UrlHelper.php +++ b/core/UrlHelper.php @@ -92,7 +92,7 @@ class UrlHelper } /** - * Returns true if the string passed may be a URL. + * Returns true if the string passed may be a URL ie. it starts with protocol://. * We don't need a precise test here because the value comes from the website * tracked source code and the URLs may look very strange. * -- cgit v1.2.3