author | Jakub Narebski <jnareb@gmail.com> | |
Tue, 19 Sep 2006 11:57:03 +0000 (13:57 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 20 Sep 2006 14:54:29 +0000 (07:54 -0700) | ||
commit | 8059319acc3638c8398d1bd34f647a2b28f48d5c | |
tree | f93a08a01a3b202f1beb8d5efb46047664fd1862 | tree | snapshot |
parent | c774b2dcf6c16a408757e9da1bf7c006528fc6a6 | commit | diff |
gitweb: Fix mimetype_guess_file for files with multiple extensions
Fix getting correct mimetype for "blob_plain" view for files which have
multiple extensions, e.g. foo.1.html; now only the last extension
is used to find mimetype.
Noticed by Martin Waitz.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Fix getting correct mimetype for "blob_plain" view for files which have
multiple extensions, e.g. foo.1.html; now only the last extension
is used to find mimetype.
Noticed by Martin Waitz.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |