XSS in login form

This commit is contained in:
Michael Save 2012-01-07 21:10:10 +11:00
parent b6d2049132
commit c7d72306ed

View File

@ -99,7 +99,7 @@
'body'=>Element('login.html', Array( 'body'=>Element('login.html', Array(
'config'=>$config, 'config'=>$config,
'error'=>$error, 'error'=>$error,
'username'=>$username, 'username'=>utf8tohtml($username),
'redirect'=>$redirect 'redirect'=>$redirect
) )
) )