From b683553fc8d08bd1c398a471bf7d19fb47f8b2b5 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 16 Mar 2006 18:44:10 +0000 Subject: latest work with wizard. --- framework/Web/Services/TPageService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/Services/TPageService.php') 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'); } -- cgit v1.2.3