From: Sebastien D. <sde...@us...> - 2004-12-31 15:13:23
|
Update of /cvsroot/tslogparser/tslogparser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16198 Modified Files: HISTORY footer.inc.php index.php Log Message: Started new modular implementation for different testsuites support Index: HISTORY =================================================================== RCS file: /cvsroot/tslogparser/tslogparser/HISTORY,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- HISTORY 22 Nov 2004 17:34:32 -0000 1.3 +++ HISTORY 31 Dec 2004 15:13:11 -0000 1.4 @@ -1,3 +1,7 @@ +2004-11-31: +- added specification for test suites modules +- new files: + 2004-11-22: tag v02 - Fix in run-browse.php when a testsuite contains only one run. - Fix in admin/parse-opts-release.php for filename inclusion. Index: footer.inc.php =================================================================== RCS file: /cvsroot/tslogparser/tslogparser/footer.inc.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- footer.inc.php 29 Nov 2004 14:04:01 -0000 1.1 +++ footer.inc.php 31 Dec 2004 15:13:11 -0000 1.2 @@ -1,6 +1,7 @@ <?php -if (!isset($_PAGE["title"])) - die("Incorrect page inclusion.\n"); +/* Check there is no hack attempt */ +if (!isset($root)) + die ("Hack attempt detected\n"); ?> <hr width="100%"> Index: index.php =================================================================== RCS file: /cvsroot/tslogparser/tslogparser/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.php 29 Nov 2004 14:04:01 -0000 1.2 +++ index.php 31 Dec 2004 15:13:11 -0000 1.3 @@ -17,7 +17,10 @@ */ /* Redirect to the browser page */ -header("Location: http://" . $_SERVER['HTTP_HOST'] +$index = "http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) - . "/run-browse.php"); /* Redirect browser */ + . "/run-browse.php"; + +header("Location: $index"); /* Redirect browser */ +echo "You'll be redirected to <a href='$index'>the index page</a>.\n"; ?> |