Skip to content

Commit

Permalink
Merge pull request #19815 from nextcloud/bugfix/noid/prevent-self-xss…
Browse files Browse the repository at this point in the history
…-via-invalid-mysql-username

Prevent self-xss via invalid mysql user name on install screen
  • Loading branch information
rullzer authored Mar 7, 2020
2 parents c9949d1 + 585b09a commit 1d5058b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/templates/installation.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<?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; ?>
Expand Down

0 comments on commit 1d5058b

Please sign in to comment.