-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.5
-
Component/s: jackrabbit-webdav
-
Labels:None
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.