Permalink
Browse files

Updating documentation for Router::normalize(). Refs #486

  • Loading branch information...
1 parent bc990f4 commit f65cb31cbea30b551369689990a1f0d78af0cc84 @markstory markstory committed Mar 20, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 cake/libs/router.php
View
@@ -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
*/

0 comments on commit f65cb31

Please sign in to comment.