]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Fix bug in evaluate_path_info
authorJakub Narebski <redacted>
Wed, 13 Oct 2010 11:33:48 +0000 (13:33 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:30 +0000 (00:51 -0400)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>

No differences found
This page took 0.183997 seconds and 4 git commands to generate.