summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/path/path.module4
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) {