Changeset 2279
- Timestamp:
- 12/04/10 00:06:43 (18 months ago)
- Files:
-
- 1 modified
-
branches/1.4/libs/PageHandling.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4/libs/PageHandling.php
r2214 r2279 168 168 169 169 if ($page) { 170 $page = str_replace('..', '', $page); // prevents access outside the current folder 170 171 $page = rtrim($page, '/'); 171 172 return $page; … … 254 255 } 255 256 257 $page = str_replace('..', '', $page); // prevents access outside the current folder 256 258 $page = $page . '.php'; 257 259