diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-01-07 21:10:10 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-01-07 21:10:10 +1100 |
| commit | c7d72306ed4175a0b44a0ca31c5f0e1d4a96b449 (patch) | |
| tree | bdf0fb0e2d6f3f4802441df1f7323ad8ec9a1439 | |
| parent | b6d20491326ed8bcbb6fc9f77a4208b5d80abe38 (diff) | |
XSS in login form
| -rw-r--r-- | inc/display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index 7a1a3901..7f0226d4 100644 --- a/inc/display.php +++ b/inc/display.php @@ -99,7 +99,7 @@ 'body'=>Element('login.html', Array( 'config'=>$config, 'error'=>$error, - 'username'=>$username, + 'username'=>utf8tohtml($username), 'redirect'=>$redirect ) ) |
