From 3b1a369795c72ee0d42fdeaa1c71cd97a3685954 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 28 Feb 2008 15:25:08 +0000 Subject: Globally untaint ULTRAHOME as it is generated in a safe way --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 2a6fe35..083ca51 100644 --- a/it.class +++ b/it.class @@ -82,7 +82,7 @@ function log($name /* ... */) { $args = func_get_args(); $line = date("Y-m-d H:i:s") . "\t" . implode("\t", array_slice($args, 1)) . "\n"; - $fn = it_untaint($GLOBALS['ULTRAHOME'], TC_SELF) . "/log/$name-" . date('Ymd'); + $fn = $GLOBALS['ULTRAHOME'] . "/log/$name-" . date('Ymd'); $existed = file_exists($fn); -- cgit v1.2.3