author | martin f. krafft <madduck@madduck.net> | |
Sun, 20 Apr 2008 21:03:56 +0000 (23:03 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 22 Apr 2008 06:30:11 +0000 (23:30 -0700) | ||
commit | bbd4c307fc315847c975efd4c9aa32eb0e8470fb | |
tree | 988cdac57962113557c1c045319364fe2f7d437c | tree | snapshot |
parent | f45741390844778f5b286cf6607cd767636e5c57 | commit | diff |
Escape project name in regexp
The project name, when used in a regular expression, needs to be quoted
properly, so that stuff like '++' in the project name does not cause
Perl to barf.
Related info: http://bugs.debian.org/476076
This is a bug in Perl's CGI.pm, but fixing that exposed a similar bug in
gitweb.perl
Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The project name, when used in a regular expression, needs to be quoted
properly, so that stuff like '++' in the project name does not cause
Perl to barf.
Related info: http://bugs.debian.org/476076
This is a bug in Perl's CGI.pm, but fixing that exposed a similar bug in
gitweb.perl
Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |