* fix bug for build url in PATH_INFO.
This commit is contained in:
@@ -30,6 +30,7 @@ $filter->default->cookie['hideMenu'] = 'equal::true';
|
||||
$filter->default->cookie['tab'] = 'reg::word';
|
||||
$filter->default->cookie['goback'] = 'reg::any';
|
||||
|
||||
$filter->index = new stdclass();
|
||||
$filter->my = new stdclass();
|
||||
$filter->bug = new stdclass();
|
||||
$filter->caselib = new stdclass();
|
||||
@@ -68,6 +69,7 @@ $filter->tree = new stdclass();
|
||||
$filter->productplan = new stdclass();
|
||||
$filter->kanban = new stdclass();
|
||||
|
||||
$filter->index->index = new stdclass();
|
||||
$filter->block->default = new stdclass();
|
||||
$filter->block->main = new stdclass();
|
||||
$filter->my->work = new stdclass();
|
||||
@@ -166,6 +168,8 @@ $filter->tree->browse = new stdclass();
|
||||
$filter->productplan->browse = new stdclass();
|
||||
$filter->kanban->space = new stdclass();
|
||||
|
||||
$filter->index->index->get['open'] = 'reg::base64';
|
||||
|
||||
$filter->my->work->cookie['pagerMyTask'] = 'int';
|
||||
$filter->my->work->cookie['pagerMyRequirement'] = 'int';
|
||||
$filter->my->work->cookie['pagerMyStory'] = 'int';
|
||||
|
||||
@@ -2363,7 +2363,8 @@ EOD;
|
||||
}
|
||||
|
||||
$url = helper::safe64Encode($_SERVER['REQUEST_URI']);
|
||||
$redirectUrl = helper::createLink('index', 'index', "open=$url");
|
||||
$redirectUrl = helper::createLink('index', 'index');
|
||||
$redirectUrl .= strpos($redirectUrl, '?') === false ? "?open=$url" : "&open=$url";
|
||||
die(header("location: $redirectUrl"));
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ class index extends control
|
||||
public function index($open = '')
|
||||
{
|
||||
if($this->app->getViewType() == 'mhtml') $this->locate($this->createLink('my', 'index'));
|
||||
if($this->get->open) $open = $this->get->open;
|
||||
|
||||
$latestVersionList = array();
|
||||
if(isset($this->config->global->latestVersionList)) $latestVersionList = json_decode($this->config->global->latestVersionList);
|
||||
|
||||
Reference in New Issue
Block a user