Input.diff

Isaiah DeRose-Wilson, 03/05/2010 04:47 pm

Download (682 Bytes)

 
system/libraries/Input.php (working copy)
465 465
		{
466 466
			// Remove really unwanted tags
467 467
			$old_data = $data;
468
			$data = preg_replace('#</*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+>#i', '', $data);
468
			$data = preg_replace('#</*[\x00-\x20]*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+>#i', '', $data);
469 469
		}
470 470
		while ($old_data !== $data);
471 471