Vergleich xmlhttp.php - 1.6.11 - 1.6.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 659Zeile 659

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 674Zeile 674
	}

// 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;