Merge pull request #19832 from nextcloud/backport/19815/stable16
[stable16] Prevent self-xss via invalid mysql user name on install screen
This commit is contained in:
commit
8df76b56fc
|
@ -15,10 +15,10 @@ script('core', [
|
||||||
<?php foreach($_['errors'] as $err): ?>
|
<?php foreach($_['errors'] as $err): ?>
|
||||||
<p>
|
<p>
|
||||||
<?php if(is_array($err)):?>
|
<?php if(is_array($err)):?>
|
||||||
<?php print_unescaped($err['error']); ?>
|
<?php p($err['error']); ?>
|
||||||
<span class='hint'><?php print_unescaped($err['hint']); ?></span>
|
<span class='hint'><?php p($err['hint']); ?></span>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php print_unescaped($err); ?>
|
<?php p($err); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</p>
|
</p>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
Loading…
Reference in New Issue