From 4a3691f981d61106a0e9f73a38b5ed383832b135 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 19 Oct 2007 00:11:08 +0000 Subject: Do not try to access weird files for /error.gif/weird,files --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itjs.php b/itjs.php index 1332ead..bb6a95b 100644 --- a/itjs.php +++ b/itjs.php @@ -25,7 +25,7 @@ if (EDC('slowjs')) sleep(20); $data = ""; -$files = itjs::filenames(basename($_SERVER['PHP_SELF'])); +$files = itjs::filenames(it::match('/itjs/([a-z_,.-]*)', $_SERVER['PHP_SELF'])); foreach ($files as $file) { -- cgit v1.2.3