git/list[1] front-page[2] threads[3] people[4] search[5] about
 

gitweb fails with pathinfo and project with ++ in the name

From
MKmartin f krafft <madduck@madduck.net>
Date
Apr 20, 2008, 14:46 UTC
Message-ID
<20080420144654.GA11479@piper.oerlikon.madduck.net>
Hi all,

please have a look at http://git.madduck.net/v/code/libfactory++.git or http://git.madduck.net/v/code/libfactory%2b%2b.git.

I narrowed this down to the first line of CGI.pm's path_info sub:
  my ($self,$info) = self_or_default(@_);
but then my perl-foo wouldn't take me further.

gitweb works fine if I turn off pathinfo, but when it's turned on, it cannot deal with two ++ in the name of projects.

The bug seems to be in CGI.pm, and I now wonder what to do about it.
Please keep the bug address <476076@bugs.debian.org> in Cc.
-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"the association on this web site and in peter chappell
 publications, articles and books, made between remedy and diseases
 is used for clarity, but is not the functional reality and does not
 imply these resonances treat any disease. they merely vitalise and
 inform the self healing system."
                                                   -- peter chappell
 
spamtraps: madduck.bogus@madduck.net
Next: Frank Lichtenheld
Message 1 of 6 in “gitweb fails with pathinfo and project with ++ in the name”
  1. martin f krafftApr 20, 2008
  2. Frank LichtenheldApr 20, 2008
  3. martin f krafftApr 20, 2008
  4. Escape project name in regexpmartin f. krafft, Apr 20, 2008
  5. Escape project names before creating pathinfo URLsmartin f. krafft, Apr 20, 2008
  6. Junio C HamanoApr 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.