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.