Vote #73650
未完了Redmine.pm and dots in username
ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM extra_46
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
46
version_id:
0
issue_org_id:
13597
author_id:
75278
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
69
説明
The Redmine.pm does not work with "." in the username, if you try to open
a repos with username included in the url like: https://firstname.lastname@redmine.org/git/project.git
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/*([^/.]+)};
...
journals
--------------------------------------------------------------------------------
いいね!0