Adding fix for #1606

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3781 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2006-11-01 03:24:49 +00:00
parent 45fd88df49
commit b4306ac594

View file

@ -103,7 +103,7 @@ class CakeSession extends Object{
if($start === true) {
$this->host = env('HTTP_HOST');
if (empty($base)) {
if (empty($base) || strpos($base, '?')) {
$this->path = '/';
} else {
$this->path = $base;