Subversion Connector Fails To Escape Special Characters

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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

Cause

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

Resolution

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.

Last modified on Nov 21, 2012

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.