diff options
author | xue <> | 2006-03-16 18:44:10 +0000 |
---|---|---|
committer | xue <> | 2006-03-16 18:44:10 +0000 |
commit | b683553fc8d08bd1c398a471bf7d19fb47f8b2b5 (patch) | |
tree | adea30085858b3a65da204f0c4f184cf1a71b8b0 /framework/Web/Services/TPageService.php | |
parent | ecdf0c2b00aa3067f521f4db62173609ecf5a5be (diff) |
latest work with wizard.
Diffstat (limited to 'framework/Web/Services/TPageService.php')
-rw-r--r-- | framework/Web/Services/TPageService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 991da05b..8d3ccca3 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -347,7 +347,7 @@ class TPageService extends TService {
if($this->_pagePath===null)
{
- $this->_pagePath=$this->determineRequestedPagePath();
+ $this->_pagePath=strtr($this->determineRequestedPagePath(),'/\\','..');
if(empty($this->_pagePath))
throw new THttpException(404,'pageservice_page_required');
}
|