{"thread":{"id":"4224","subject":"gitweb.cgi, $my_uri and too many slashes in url","startedAt":"2006-05-20T22:58:21Z","lastAt":"2006-05-20T22:58:21Z","messageCount":1,"participants":["Brandon Philips"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"20345","messageId":"20060520225821.GT30658@osuosl.org","threadId":"4224","inReplyTo":null,"subject":"gitweb.cgi, $my_uri and too many slashes in url","fromName":"Brandon Philips","fromEmail":"brandon@ifup.org","sentAt":"2006-05-20T22:58:21Z","receivedAt":"2006-05-20T22:58:21Z","isPatch":false,"sender":{"key":"brandon@ifup.org","avatar":"https://gravatar.com/avatar/a7bc9e3dda4b1f20d348289a89091d01c28589aee8b5165e9e1ed0d1c7b6211d?d=mp&s=160"},"body":"gitweb.cgi creates bad URLs when too many slashes are put in a URL.\n\nVisiting http://kernel.org///git/ causes all URL prefixes to be\nhttp://git/ \n\nExplicitly setting $my_uri fixes the problem so it is likely a bug in\nthe CGI library.\n\nmy $my_uri =            $cgi->url(-absolute => 1);\n\nI reproduced the bug on a system with the latest version of gitweb and\nPerl's CGI in Debian Unstable to ensure it wasn't just a kernel.org bug.\n\nThanks,\n\nBrandon\n\n--\nhttp://ifup.org\n"}]}