Commit 90c713d2 authored by Felix Schäfer's avatar Felix Schäfer

Recognize git Repositories of the form 'identifier.git' in the apache perl module.

parent c51eb705
......@@ -481,6 +481,7 @@ sub get_project_identifier {
my $location = $r->location;
my ($identifier) = $r->uri =~ m{$location/*([^/]+)};
$identifier =~ s/\.git$// if (defined $cfg->{RedmineGitSmartHttp} and $cfg->{RedmineGitSmartHttp});
$identifier;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment