jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1782) Destination header not containing URI scheme causes NPE
Date Thu, 02 Oct 2008 13:45:47 GMT
Destination header not containing URI scheme causes NPE
-------------------------------------------------------

                 Key: JCR-1782
                 URL: https://issues.apache.org/jira/browse/JCR-1782
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-webdav
            Reporter: Julian Reschke
            Priority: Minor


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message