gitweb: Harden and improve $project_filter page title
commitf4212089c27e74689c33ec455f1c85470b7b8292
authorJakub Narebski <jnareb@gmail.com>
Sun, 12 Feb 2012 15:21:30 +0000 (12 16:21 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Feb 2012 06:11:31 +0000 (12 22:11 -0800)
tree3e4e8691e7e071c7847ef7ae6ba14e2943f41a5f
parentabc0c9d2d7312c4b153ba1b2b9cd8ba0696f1b04
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl