mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkgbase.php: Escape error messages
Fixes FS#45284. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
b870c0b682
commit
ef142b2312
1 changed files with 2 additions and 2 deletions
|
@ -146,9 +146,9 @@ html_header($title, $details);
|
|||
|
||||
<?php if ($output): ?>
|
||||
<?php if ($ret): ?>
|
||||
<p class="pkgoutput"><?= $output ?></p>
|
||||
<p class="pkgoutput"><?= htmlspecialchars($output) ?></p>
|
||||
<?php else: ?>
|
||||
<ul class="errorlist"><li><?= $output ?></li></ul>
|
||||
<ul class="errorlist"><li><?= htmlspecialchars($output) ?></li></ul>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue