Escape project names before creating pathinfo URLs
commit85d17a123ba59b90744e311e40f80fd8838fbdc5
authormartin f. krafft <madduck@madduck.net>
Sun, 20 Apr 2008 21:23:38 +0000 (20 23:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Apr 2008 06:30:55 +0000 (21 23:30 -0700)
tree6b03f9f7ed1d14e6869ac6e263a53f10a0bb604f
parentbbd4c307fc315847c975efd4c9aa32eb0e8470fb
Escape project names before creating pathinfo URLs

If a project name contains special URL characters like +, gitweb's links
break in subtle ways. The solution is to pass the project name through
esc_url() and using the return value.

Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl