mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
Escape all login and username characters in database
Display correctly usernames (I hope not to have made mistakes) git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -702,7 +702,7 @@ foreach ($visible_user_list as $local_user)
|
||||
'CHECKED' => $checked,
|
||||
'U_PROFILE' => $profile_url.$local_user['id'],
|
||||
'U_PERM' => $perm_url.$local_user['id'],
|
||||
'USERNAME' => $local_user['username']
|
||||
'USERNAME' => stripslashes($local_user['username'])
|
||||
.($local_user['id'] == $conf['guest_id']
|
||||
? '<br>['.l10n('is_the_guest').']' : '')
|
||||
.($local_user['id'] == $conf['default_user_id']
|
||||
|
||||
Reference in New Issue
Block a user