Prevent self-xss via invalid mysql user name on install screen
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
56422f10ea
commit
985d2c9447
|
@ -15,10 +15,10 @@ script('core', [
|
|||
<?php foreach($_['errors'] as $err): ?>
|
||||
<p>
|
||||
<?php if(is_array($err)):?>
|
||||
<?php print_unescaped($err['error']); ?>
|
||||
<span class='hint'><?php print_unescaped($err['hint']); ?></span>
|
||||
<?php p($err['error']); ?>
|
||||
<span class='hint'><?php p($err['hint']); ?></span>
|
||||
<?php else: ?>
|
||||
<?php print_unescaped($err); ?>
|
||||
<?php p($err); ?>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
<?php endforeach; ?>
|
||||
|
|
Loading…
Reference in New Issue