From: Jakub Narebski Date: Wed, 13 Oct 2010 11:33:48 +0000 (+0200) Subject: gitweb: Fix bug in evaluate_path_info X-Git-Tag: v1.7.4-rc0~179 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7e00dc58d14a5f8ea229e5a0acf5f019028e3a40?hp=7e00dc58d14a5f8ea229e5a0acf5f019028e3a40 gitweb: Fix bug in evaluate_path_info There was bug in parsing "project/:/file" and "project/:/" path_info URLs, with implicit HEAD as 'hash_base'. For such URLs the refname is empty, and before this fix regexp for parsing path_info fragment assumed that it is always non-empty. Refname cannot contain ':', as per 'git check-ref-format'. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano ---