From abba910958ce2e47ddc9a33c9d0d6fe2d3b37134 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Tue, 7 May 2013 14:22:10 -0700 Subject: [PATCH] Remove leading / from PATH_INFO before using --- cgi/html.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/cgi/html.cgi b/cgi/html.cgi index a2e500f..a206bda 100755 --- a/cgi/html.cgi +++ b/cgi/html.cgi @@ -18,6 +18,7 @@ use Girocco::Config; my $pathinfo = $ENV{PATH_INFO}; +$pathinfo =~ s,^/,,; unless ($pathinfo) { my $gcgi = Girocco::CGI->new('HTML Templater'); print "

Hi, this is your friendly HTML templater speaking. Pass me template name.

\n"; -- 2.11.4.GIT