]> Lady’s Gitweb - Gitweb/commit
Escape project names before creating pathinfo URLs
authormartin f. krafft <redacted>
Sun, 20 Apr 2008 21:23:38 +0000 (23:23 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
commit0a86370ce28b9c0f243062fc152b41c0f89c7c382bb6ca312cf1bde5679175bc
treef70e2d947f5ab3941b63a65329d0c8b3bd2bd51cfa72a18ef8f31b38d985e1c1
parente3df14cf8a0b6735e1ea353ae8651ea67a6676c0909f9f3d80b2e80a39dc830c
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.299954 seconds and 4 git commands to generate.