Revert "Fixes bug described in #3581"

This reverts commit 6c75e3697d.
This commit is contained in:
Hikkijp 2014-05-27 14:00:20 -03:00
parent 6c75e3697d
commit 952c7192f4

View file

@ -536,10 +536,7 @@ class CakeRoute {
$out = str_replace($search, $replace, $out); $out = str_replace($search, $replace, $out);
} }
if (strpos($this->template, '**')) { if (strpos($this->template, '*')) {
$out = str_replace('**', $params['pass'], $out);
}
elseif (strpos($this->template, '*')) {
$out = str_replace('*', $params['pass'], $out); $out = str_replace('*', $params['pass'], $out);
} }
$out = str_replace('//', '/', $out); $out = str_replace('//', '/', $out);