Try another fix for #yogosha4514
This commit is contained in:
parent
11bf662c38
commit
4710fedda6
@ -107,8 +107,7 @@ function testSqlAndScriptInject($val, $type)
|
||||
$inj += preg_match('/:|:|:/i', $val); // refused string ':' encoded (no reason to have it encoded) to lock 'javascript:...'
|
||||
//if ($type == 1)
|
||||
//{
|
||||
$inj += preg_match('/javascript%/i', $val);
|
||||
$inj += preg_match('/javascript:/i', $val);
|
||||
$inj += preg_match('/javascript\s*:/i', $val);
|
||||
$inj += preg_match('/vbscript:/i', $val);
|
||||
//}
|
||||
// For XSS Injection done by adding javascript closing html tags like with onmousemove, etc... (closing a src or href tag with not cleaned param)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user