Escaping username
authorJavier Bassi <profetasdelmetal@gmail.com>
Wed, 19 Oct 2011 02:26:06 +0000 (00:26 -0200)
committerJavier Bassi <profetasdelmetal@gmail.com>
Wed, 19 Oct 2011 02:26:06 +0000 (00:26 -0200)
useradmin/list_logins.cgi

index cc28c8e..017baa2 100755 (executable)
@@ -40,7 +40,7 @@ foreach $l (&list_last_logins($u, $config{'last_count'})) {
 
 # Show the table
 if ($u) {
-       print &ui_subheading(&text('logins_head', $u));
+       print &ui_subheading(&text('logins_head', &html_escape($u)));
        }
 print &ui_columns_table(
        [ $u ? ( ) : ( $text{'user'} ), $text{'logins_from'},