Zeile 301 | Zeile 301 |
---|
{ $modlogdata = array( "tid" => $thread['tid'],
|
{ $modlogdata = array( "tid" => $thread['tid'],
|
"pid" => $post['pid'],
| |
"fid" => $forum['fid'] ); log_moderator_action($modlogdata, $lang->edited_post);
| "fid" => $forum['fid'] ); log_moderator_action($modlogdata, $lang->edited_post);
|
Zeile 659 | Zeile 658 |
---|
header("Content-type: text/xml; charset={$charset}");
|
header("Content-type: text/xml; charset={$charset}");
|
if(empty($username) || utf8_handle_4byte_string($username, false) == false)
| if(empty($username))
|
{ echo "<fail>{$lang->banned_characters_username}</fail>"; exit;
| { echo "<fail>{$lang->banned_characters_username}</fail>"; exit;
|
Zeile 674 | Zeile 673 |
---|
}
// Check for certain characters in username (<, >, &, and slashes)
|
}
// Check for certain characters in username (<, >, &, and slashes)
|
if(strpos($username, "<") !== false || strpos($username, ">") !== false || strpos($username, "&") !== false || my_strpos($username, "\\") !== false || strpos($username, ";") !== false)
| if(strpos($username, "<") !== false || strpos($username, ">") !== false || strpos($username, "&") !== false || my_strpos($username, "\\") !== false || strpos($username, ";") !== false || !validate_utf8_string($username, false, false))
|
{ echo "<fail>{$lang->banned_characters_username}</fail>"; exit;
| { echo "<fail>{$lang->banned_characters_username}</fail>"; exit;
|