Skip to content
Permalink
Browse files Browse the repository at this point in the history
escape html entities to fix xss at the login screen
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21276 594d385d-05f5-0310-b6e9-bd551577e9d8
  • Loading branch information
bzapiec committed Jun 12, 2014
1 parent 3cf85af commit e35b990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/index.php
Expand Up @@ -388,7 +388,7 @@ function displayLogin()

/* Fill template with required values */
$smarty->assign ('date', gmdate("D, d M Y H:i:s"));
$smarty->assign ('username', $username);
$smarty->assign ('username', set_post($username));
$smarty->assign ('personal_img', get_template_path('images/login-head.png'));
$smarty->assign ('password_img', get_template_path('images/password.png'));
$smarty->assign ('directory_img', get_template_path('images/ldapserver.png'));
Expand Down

0 comments on commit e35b990

Please sign in to comment.