Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1075

Separator replacement in URIs fail

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8.0
    • Fix Version/s: 1.8.1, 3.0
    • Component/s: LNI (Obsolete)
    • Labels:
      None
    • Attachments:
      2
    • Comments:
      2

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              robintaylor Robin Taylor
              Reporter:
              bogundersen Bo Gundersen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: