Defect #13597 and dots in username

Added by Konrad Mattheis over 9 years ago. Updated over 9 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:SCM extra
Target version:-
Resolution: Affected version:2.2.4


The does not work with "." in the username, if you try to open
a repos with username included in the url like:

This problems comes from the parsing of the "." in the projectname.

Unfortunately I have not many exper. with perl regex. Can anybody help me to give a hint how
to change the following code that it only searches for a "." behind a "@"

sub get_project_identifier {

$location =~ s/\.git$// if (defined $cfg->{RedmineGitSmartHttp} and $cfg->{RedmineGitSmartHttp});
my ($identifier) = $r->uri =~ m{$location/*([^/.]+)};



#1 Updated by Toshi MARUYAMA over 9 years ago

  • Category changed from SCM to SCM extra

Also available in: Atom PDF