Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug where filename did not match between cache engine and dispa…

…tcher in some cases.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7950 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
commit f7a62bc80da89f5ce3b02931e5798a21a90b6c21 1 parent 60e3c6c
TommyO authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  cake/dispatcher.php
  2. +1 −1  cake/tests/cases/dispatcher.test.php
View
2  cake/dispatcher.php
@@ -687,7 +687,7 @@ function cached($url) {
if ($this->here == '/') {
$path = 'home';
}
- $path = Inflector::slug($path);
+ $path = strtolower(Inflector::slug($path));
$filename = CACHE . 'views' . DS . $path . '.php';
View
2  cake/tests/cases/dispatcher.test.php
@@ -1923,7 +1923,7 @@ function __cachePath($here) {
if ($here == '/') {
$path = 'home';
}
- $path = Inflector::slug($path);
+ $path = strtolower(Inflector::slug($path));
$filename = CACHE . 'views' . DS . $path . '.php';
Please sign in to comment.
Something went wrong with that request. Please try again.