Separator replacement in URIs fail
----------------------------------

                 Key: DS-1075
                 URL: https://jira.duraspace.org/browse/DS-1075
             Project: DSpace
          Issue Type: Bug
          Components: LNI
    Affects Versions: 1.8.0, 1.7.2
            Reporter: Bo Gundersen
            Priority: Major
         Attachments: dspace-1.7.2_separator_fix.diff, 
dspace-1.8.0_separator_fix.diff

The method getPathElt(String handle) in DAVDSpaceObject replaces / characters 
in handles with the configured handleSeparator char.
If the handleSeparator is a $ (which it is by default), the call to 
handle.replaceFirst fails because $ is used as a special character and needs to 
be escaped.

I have attached fixes for 1.7.2 and 1.8.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to