Xss security filter, Filter the 0x01,0x02,0x03,0x04,0x05
Support for Array, String
public static mixed Asf_Util::filterXss(mixed $data)
Input a mixed
Return the is filtered security data
The above example will output:
string(62) "<input type='text' value='<>'>" string(126) "<img src="x" onerror="alert(1)">" string(84) "<a href="javasc
ript:alert(1)">click</a>" string(104) "<a href="data:text/html;base64, PGltZyBzcmM9eCBvbmVycm9yPWFsZXJ0KDEpPg==">test</a>"