プロジェクト

全般

プロフィール

Vote #73650

未完了

Redmine.pm and dots in username

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM extra_46
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
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
ステータス-->[New]

説明

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

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリSCM extra_46 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0