Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
2.0.3
-
None
Description
There are places in the authz code where the svn repository path is used as a regexp (to match against the authz file). This causes a problem if the path name contains characters that have special meaning in a regexp.
For example: the path '/path/to/NotePad++' generates an error like the following:
[Fri Feb 05 12:51:36 2010] [error] [client 127.0.0.1] Nested quantifiers in regex; marked by <-- HERE in m/^/stuff/NotePad++ <-- HERE .+/ at /usr/lib/perl5/site_perl/5.8.8/Atlassian/Crowd.pm line 448.\n
The solution is to escape the string in the code using the "\Q...\E" syntax. For more information see this KB article