• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/sanitizer.php
  • Класс: CBXSanitizer
  • Вызов: CBXSanitizer::Decode
public function Decode($str)
	{
		$str1="";

		while($str1 <> $str)
		{
			$str1 = $str;
			$str = $this->_decode($str);
			$str = str_replace("x00", "", $str);
			$str = preg_replace("/�+(;|([^d;]))/is", "\2", $str);
			$str = preg_replace("/�+(;|([^da-f;]))/is", "\2", $str);
		}

		return $str1;
	}