Commit ef142b23 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

pkgbase.php: Escape error messages

Fixes FS#45284.

Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent b870c0b6
......@@ -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; ?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment