mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
fixed problems with usernames using html special chars, added GMT + 13 to english lang_main (yes, again. ;)), paul will slap me again... i see the trout coming, but this var has to be added.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3616 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -216,7 +216,7 @@ if ( $mode == 'edit' || $mode == 'save' && ( isset($HTTP_POST_VARS['username'])
|
||||
message_die(GENERAL_MESSAGE, $message);
|
||||
}
|
||||
|
||||
$username = ( !empty($HTTP_POST_VARS['username']) ) ? trim(strip_tags( $HTTP_POST_VARS['username'] ) ) : '';
|
||||
$username = ( !empty($HTTP_POST_VARS['username']) ) ? trim(strip_tags(htmlspecialchars($HTTP_POST_VARS['username']))) : '';
|
||||
$email = ( !empty($HTTP_POST_VARS['email']) ) ? trim(strip_tags(htmlspecialchars( $HTTP_POST_VARS['email'] ) )) : '';
|
||||
|
||||
$password = ( !empty($HTTP_POST_VARS['password']) ) ? trim(strip_tags(htmlspecialchars( $HTTP_POST_VARS['password'] ) )) : '';
|
||||
@@ -736,7 +736,7 @@ if ( $mode == 'edit' || $mode == 'save' && ( isset($HTTP_POST_VARS['username'])
|
||||
// Now parse and display it as a template
|
||||
//
|
||||
$user_id = $this_userdata['user_id'];
|
||||
$username = htmlspecialchars($this_userdata['username']);
|
||||
$username = $this_userdata['username'];
|
||||
$email = $this_userdata['user_email'];
|
||||
$password = '';
|
||||
$password_confirm = '';
|
||||
|
Reference in New Issue
Block a user