Skip to content

Commit

Permalink
alsearch.php: Escape output of user provided parameters
Browse files Browse the repository at this point in the history
Fixes the rest of #1478
  • Loading branch information
reedy committed Aug 20, 2024
1 parent d815df7 commit e7f5d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php/alsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
sprintf(
_("A %s using the name or alias %s exists already."),
MODES_OPERATOR[$mode],
$name
htmlspecialchars($name)
));
exit;
}
Expand All @@ -77,7 +77,7 @@
sprintf(
_("A %s using the name or alias %s exists already."),
MODES_OPERATOR[$mode],
$alias
htmlspecialchars($alias)
));
exit;
}
Expand Down

0 comments on commit e7f5d81

Please sign in to comment.