summaryrefslogtreecommitdiffstats
path: root/themes/engines/phptemplate/phptemplate.engine
diff options
context:
space:
mode:
authorNeil Drumm2009-02-25 23:14:05 (GMT)
committerNeil Drumm2009-02-25 23:14:05 (GMT)
commit245bc2ea4a6dd4253929fed5c22d6dc3696d2097 (patch)
tree598d94d8ea95d385a8a274838f8d3218caef748a /themes/engines/phptemplate/phptemplate.engine
parent6372073268de80e7646d3ab9f3d5a1c333f51783 (diff)
Drupal 5.165.16
Diffstat (limited to 'themes/engines/phptemplate/phptemplate.engine')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index ab481c7..df3943a 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -257,6 +257,7 @@ function phptemplate_page($content, $show_blocks = TRUE) {
$suggestion = 'page';
$suggestions = array($suggestion);
while ($arg = arg($i++)) {
+ $arg = str_replace(array('/', '\\', '\0'), '', $arg);
$suggestions[] = $suggestion . '-' . $arg;
if (!is_numeric($arg)) {
$suggestion .= '-' . $arg;