]> Lady’s Gitweb - Gitweb/commit
gitweb: Harden and improve $project_filter page title
authorJakub Narebski <redacted>
Sun, 12 Feb 2012 15:21:30 +0000 (16:21 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
commit8c5876e8803cb89d50d4ee6b5f8259941844b941a9425534e36b4a2f581244d7
tree8393a37dde6a0fbfbb2671993d6827631f0a7bedf352bbafab3e53003f141d76
parente9025e586fc6c892ed46d9ba0718043f66753de435d10d09a24f204c4a51f2f9
gitweb: Harden and improve $project_filter page title

Commit 19d2d23 (gitweb: add project_filter to limit project list
to a subdirectory, 2012-01-30) added also support for displaying
$project_filter, if present, in page title.

Unfortunately it forgot to treat $project_filter as path, and escape
it using esc_path(), like it is done for $filename.

Also, it was not obvious that "$site_name - $project_filter" is about
project filtering: use "$site_name - projects in '$project_filter'".

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.103479 seconds and 5 git commands to generate.