aboutsummaryrefslogtreecommitdiff
path: root/contrib/hooks
diff options
context:
space:
mode:
authormartin f. krafft <madduck@madduck.net>2008-04-20 23:23:38 +0200
committerJunio C Hamano <gitster@pobox.com>2008-04-21 23:30:55 -0700
commit85d17a123ba59b90744e311e40f80fd8838fbdc5 (patch)
tree6b03f9f7ed1d14e6869ac6e263a53f10a0bb604f /contrib/hooks
parentbbd4c307fc315847c975efd4c9aa32eb0e8470fb (diff)
downloadgit-85d17a123ba59b90744e311e40f80fd8838fbdc5.tar.gz
git-85d17a123ba59b90744e311e40f80fd8838fbdc5.tar.xz
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>
Diffstat (limited to 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions