Vergleich xmlhttp.php - 1.6.12 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 301Zeile 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 651Zeile 650
	$username = $mybb->input['value'];

// Fix bad characters

	$username = $mybb->input['value'];

// Fix bad characters

	$username = trim($username);

	$username = trim_blank_chrs($username);

	$username = str_replace(array(unichr(160), unichr(173), unichr(0xCA), dec_to_utf8(8238), dec_to_utf8(8237), dec_to_utf8(8203)), array(" ", "-", "", "", "", ""), $username);

// Remove multiple spaces from the username

	$username = str_replace(array(unichr(160), unichr(173), unichr(0xCA), dec_to_utf8(8238), dec_to_utf8(8237), dec_to_utf8(8203)), array(" ", "-", "", "", "", ""), $username);

// Remove multiple spaces from the username

Zeile 674Zeile 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 || !validate_utf8_string($username, false, false))

	if(strpos($username, "<") !== false || strpos($username, ">") !== false || strpos($username, "&") !== false || my_strpos($username, "\\") !== false || 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;