From: fche Date: Wed, 19 Nov 2008 18:36:35 +0000 (+0000) Subject: none X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b52e3930e058ae39092886e9c302aa88ff0430cd;p=systemtap-htdocs.git none --- diff --git a/examples/gitweb.php b/examples/gitweb.php index 3392c15f..695c3057 100644 --- a/examples/gitweb.php +++ b/examples/gitweb.php @@ -2,7 +2,7 @@ $uri = $_SERVER["REQUEST_URI"]; $gitfile0 = ereg_replace (".*/examples/", "", $uri); if ($gitfile0 == "") { $gitfile0 = "index.html"; } -if (escapeshellarg($gitfile0) != $gitfile0) +if (escapeshellarg($gitfile0) != $gitfile0) { die ("bad chars? ".htmlspecialchars($gitfile0)); } $gitfile1 = "testsuite/systemtap.examples/$gitfile0";