Fix potential XSS from Username
parent
540748c923
commit
0db629fbba
|
@ -29,7 +29,7 @@ global $CLANG;
|
|||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><?php echo sprintf( $CLANG['CurrentLogin'], $user['Username'] ) ?></p>
|
||||
<p><?php echo sprintf( $CLANG['CurrentLogin'], validHtmlStr($user['Username']) ) ?></p>
|
||||
<?php if ( canView('System') ) { ?>
|
||||
<p>Other logged in users:<br/>
|
||||
<table class="table table-striped">
|
||||
|
|
Loading…
Reference in New Issue