Skip to content

Commit

Permalink
Merge pull request #1262 from Tibinsunny/fix1
Browse files Browse the repository at this point in the history
Fix for /issues/1254
  • Loading branch information
dignajar committed Sep 25, 2020
2 parents 50b3a87 + b47b680 commit 309b39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bl-kernel/admin/views/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

echo '
<div class="form-group">
<input type="text" value="'.(isset($_POST['username'])?$_POST['username']:'').'" class="form-control form-control-lg" id="jsusername" name="username" placeholder="'.$L->g('Username').'" autofocus>
<input type="text" value="'.(isset($_POST['username'])?htmlspecialchars($_POST['username']):'').'" class="form-control form-control-lg" id="jsusername" name="username" placeholder="'.$L->g('Username').'" autofocus>
</div>
';

Expand Down

0 comments on commit 309b39e

Please sign in to comment.