mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +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:
@@ -2112,7 +2112,7 @@ SELECT '.$conf['user_fields']['username'].'
|
||||
return false;
|
||||
}
|
||||
|
||||
return $username;
|
||||
return stripslashes($username);
|
||||
}
|
||||
|
||||
function get_newsletter_subscribe_base_url($language) {
|
||||
|
||||
Reference in New Issue
Block a user