summaryrefslogtreecommitdiff
path: root/auto_prepend.php
diff options
context:
space:
mode:
authorChristian Schneider2008-02-28 15:25:08 +0000
committerChristian Schneider2008-02-28 15:25:08 +0000
commit3b1a369795c72ee0d42fdeaa1c71cd97a3685954 (patch)
tree5659a1424760cefe9eb531b72c5e9c2a380a66dd /auto_prepend.php
parentec3e1ea1ef5bad7208eae3da037264bf4d592186 (diff)
downloaditools-3b1a369795c72ee0d42fdeaa1c71cd97a3685954.tar.gz
itools-3b1a369795c72ee0d42fdeaa1c71cd97a3685954.tar.bz2
itools-3b1a369795c72ee0d42fdeaa1c71cd97a3685954.zip
Globally untaint ULTRAHOME as it is generated in a safe way
Diffstat (limited to 'auto_prepend.php')
-rw-r--r--auto_prepend.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/auto_prepend.php b/auto_prepend.php
index 8955371..d382306 100644
--- a/auto_prepend.php
+++ b/auto_prepend.php
@@ -176,4 +176,7 @@ else
function it_taintcheck($value, $marks = 0) { return $value; }
}
+# ULTRAHOME is generated in a safe way
+$GLOBALS['ULTRAHOME'] = it_untaint($GLOBALS['ULTRAHOME'], TC_ALL);
+
?>