fix for the problem, that allowed attribute values where stripped, due to the security bugfix

This commit is contained in:
Klaus Leithoff 2008-04-02 08:47:42 +00:00
parent b5d3888f74
commit 6dd130a1f3

View File

@ -517,6 +517,13 @@
if(isset($string2[1]) && !preg_match('%/\?%',$string2[0]))
{
return $this->_bad_protocol_once2($string2[0]).trim($string2[1]);
} else {
if (!isset($string2[1]))
{
return $string2[0];
} else {
return '';
}
}
return '';
} # function _bad_protocol_once