Skip to content

Commit

Permalink
Fix for /issues/1254
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibinsunny committed Aug 30, 2020
1 parent 6942177 commit b47b680
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 b47b680

Please sign in to comment.