author | martin f. krafft <madduck@madduck.net> | |
Sun, 20 Apr 2008 21:23:38 +0000 (23:23 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 22 Apr 2008 06:30:55 +0000 (23:30 -0700) | ||
commit | 85d17a123ba59b90744e311e40f80fd8838fbdc5 | |
tree | 6b03f9f7ed1d14e6869ac6e263a53f10a0bb604f | tree | snapshot |
parent | bbd4c307fc315847c975efd4c9aa32eb0e8470fb | commit | diff |
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>
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 | diff | blob | history |