mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Fixes #1653 - fetch
This commit is contained in:
@@ -3388,7 +3388,7 @@ class e107
|
|||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
$regex = "/(wget |curl -o |fetch |lwp-download|onmouse)/i";
|
$regex = "/(wget |curl -o |lwp-download|onmouse)/i";
|
||||||
if(preg_match($regex,$input))
|
if(preg_match($regex,$input))
|
||||||
{
|
{
|
||||||
header('HTTP/1.0 400 Bad Request', true, 400);
|
header('HTTP/1.0 400 Bad Request', true, 400);
|
||||||
|
Reference in New Issue
Block a user