Subversion Connector Fails To Escape Special Characters

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When trying to perform read/write actions in a Subversion instance integrated with Crowd, the following error is reported:


Nested quantifiers in regex; marked by <-- HERE in m/^/InternalSystems/Documentation/Architecture/Infrastructure/New Notepad++ <-- HERE Document.txt.+/ at /usr/lib/perl5/site_perl/5.8.8/Atlassian/Crowd.pm line 448.\n

原因

The Crowd Subversion/Apache connector does not escape the "++" characters in the file name.

ソリューション

You can work around the problem by editing the /usr/lib/perl5/site_perl/5.8.8/Atlassian/Crowd.pm file and replacing


    if($path =~ /^$repos_path.+/) {

on line 448 with


    if($path =~ /^\Q$repos_path\E.+/) {

You will need to restart Apache after making this change.

最終更新日 2012 年 11 月 21 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.