Fix an apache perl module error. #466

Contributed by Artem Naluzhnyy.
pull/351/head
Felix Schäfer 14 years ago
parent 2ceffca3e3
commit 0c03142832
  1. 1
      extra/svn/Redmine.pm

@ -480,6 +480,7 @@ sub is_member {
sub get_project_identifier {
my $r = shift;
my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config);
my $location = $r->location;
my ($identifier) = $r->uri =~ m{$location/*([^/]+)};
$identifier =~ s/\.git$// if (defined $cfg->{RedmineGitSmartHttp} and $cfg->{RedmineGitSmartHttp});

Loading…
Cancel
Save