From f65cb31cbea30b551369689990a1f0d78af0cc84 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Fri, 19 Mar 2010 20:44:18 -0400 Subject: [PATCH] Updating documentation for Router::normalize(). Refs #486 --- cake/libs/router.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cake/libs/router.php b/cake/libs/router.php index 51d452cec82..1569ba3592c 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -1180,9 +1180,11 @@ function queryString($q, $extra = array(), $escape = false) { return $out; } /** - * Normalizes a URL for purposes of comparison + * Normalizes a URL for purposes of comparison. Will strip the base path off + * and replace any double /'s. It will not unify the casing and underscoring + * of the input value. * - * @param mixed $url URL to normalize + * @param mixed $url URL to normalize Either an array or a string url. * @return string Normalized URL * @access public */