diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-01-09 08:34:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-01-09 08:34:03 +0000 |
commit | 8f57e63aeda709324b978e4384cd67bf2214a3e3 (patch) | |
tree | 39bcf773b20e307874a837fd2dec513cc39ffdfc /modules/path/path.module | |
parent | 5c4d5386e27a9d3d82a5f6cfa086b1668b331d6c (diff) | |
download | brdo-8f57e63aeda709324b978e4384cd67bf2214a3e3.tar.gz brdo-8f57e63aeda709324b978e4384cd67bf2214a3e3.tar.bz2 |
- Missing clean up URLs on path alias overview page.
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |