* gitweb.cgi, $my_uri and too many slashes in url
@ 2006-05-20 22:58 Brandon Philips
0 siblings, 0 replies; only message in thread
From: Brandon Philips @ 2006-05-20 22:58 UTC (permalink / raw)
To: git
gitweb.cgi creates bad URLs when too many slashes are put in a URL.
Visiting http://kernel.org///git/ causes all URL prefixes to be
http://git/
Explicitly setting $my_uri fixes the problem so it is likely a bug in
the CGI library.
my $my_uri = $cgi->url(-absolute => 1);
I reproduced the bug on a system with the latest version of gitweb and
Perl's CGI in Debian Unstable to ensure it wasn't just a kernel.org bug.
Thanks,
Brandon
--
http://ifup.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-20 22:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-20 22:58 gitweb.cgi, $my_uri and too many slashes in url Brandon Philips
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).