Skip to content
Permalink
Browse files

Correction to escape the /

  • Loading branch information...
burzum committed Aug 12, 2009
1 parent 417bdb4 commit 1a86de5fe3d52e66f4cc37212efd19aa3c611e8b
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/dispatcher.php
@@ -619,7 +619,7 @@ function cached($url) {
if ($pos > 0) {
$plugin = substr($url, 0, $pos - 1);
$url = preg_replace('/^' . preg_quote($plugin) . '\//i', '', $url);
$url = preg_replace('/^' . preg_quote($plugin, '/') . '\//i', '', $url);
$pluginPaths = Configure::read('pluginPaths');
$count = count($pluginPaths);
for ($i = 0; $i < $count; $i++) {

0 comments on commit 1a86de5

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.