Subversion Connector Fails To Escape Special Characters
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When trying to perform read/write actions in a Subversion instance integrated with Crowd, the following error is reported:
1
2
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
1
2
if($path =~ /^$repos_path.+/) {
on line 448 with
1
2
if($path =~ /^\Q$repos_path\E.+/) {
You will need to restart Apache after making this change.
Was this helpful?