summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorChristian Schneider2007-10-19 00:11:08 +0000
committerChristian Schneider2007-10-19 00:11:08 +0000
commit4a3691f981d61106a0e9f73a38b5ed383832b135 (patch)
tree516223c23ab2558d15b81f11a0223197a5516b90 /itjs.php
parent3aee6d57f18ae1d43d5f6b141fc9e5a22bea4f39 (diff)
downloaditools-4a3691f981d61106a0e9f73a38b5ed383832b135.tar.gz
itools-4a3691f981d61106a0e9f73a38b5ed383832b135.tar.bz2
itools-4a3691f981d61106a0e9f73a38b5ed383832b135.zip
Do not try to access weird files for /error.gif/weird,files
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
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)
{