Vergleich xmlhttp.php - 1.4.8 - 1.4.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: xmlhttp.php 4379 2009-06-10 10:13:44Z Tomm $

 * $Id: xmlhttp.php 4835 2010-03-22 01:51:51Z DougSD $

 */

/**

 */

/**

Zeile 363Zeile 363
			xmlhttp_error($lang->invalid_post_code);
}


			xmlhttp_error($lang->invalid_post_code);
}


		$message = strval($_POST['value']);

		$message = strval($mybb->input['value']);

		if(my_strtolower($charset) != "utf-8")
{
if(function_exists("iconv"))

		if(my_strtolower($charset) != "utf-8")
{
if(function_exists("iconv"))

Zeile 598Zeile 598

// Fix bad characters
$username = trim($username);


// Fix bad characters
$username = trim($username);

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

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


// Remove multiple spaces from the username
$username = preg_replace("#\s{2,}#", " ", $username);


// Remove multiple spaces from the username
$username = preg_replace("#\s{2,}#", " ", $username);