summaryrefslogtreecommitdiff
path: root/framework/Web/Services/TPageService.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Services/TPageService.php')
-rw-r--r--framework/Web/Services/TPageService.php2
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');
}