Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1782

Destination header not containing URI scheme causes NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5
    • jackrabbit-webdav
    • None

    Description

      In WebDAVRequestImpl. getDestinationLocator assumes that URI.getAuthority is always non-null.

      In RFC2518, a full URI is indeed required, but the NPE causes a status of 500, instead of 400 as expected.

      In RFC4918, an absolute path is allowed.

      Proposal: delegate to gethrefLocator, which already does the right thing.

      Attachments

        Activity

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: