Skip to content
Snippets Groups Projects
Commit 8f57e63a authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Missing clean up URLs on path alias overview page.

parent 5c4d5386
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment