From 8f57e63aeda709324b978e4384cd67bf2214a3e3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 9 Jan 2007 08:34:03 +0000 Subject: - Missing clean up URLs on path alias overview page. --- modules/path/path.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/path/path.module') diff --git a/modules/path/path.module b/modules/path/path.module index 2f78032be..b27d5afde 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -78,7 +78,7 @@ function path_admin() { function path_admin_edit($pid = 0) { if ($pid) { $alias = path_load($pid); - drupal_set_title($alias['dst']); + drupal_set_title(check_plain($alias['dst'])); $output = path_form($alias); } else { @@ -306,7 +306,7 @@ function path_overview() { $destination = drupal_get_destination(); while ($data = db_fetch_object($result)) { - $rows[] = array($data->dst, $data->src, l(t('edit'), "admin/build/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/build/path/delete/$data->pid", array(), $destination)); + $rows[] = array(check_plain($data->dst), check_plain($data->src), l(t('edit'), "admin/build/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/build/path/delete/$data->pid", array(), $destination)); } if (!$rows) { -- cgit v1.2.3