You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2003/05/05 15:23:55 UTC

DO NOT REPLY [Bug 19669] New: - setWebdavProperties cannot deal with relative HREFs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19669>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19669

setWebdavProperties cannot deal with relative HREFs

           Summary: setWebdavProperties cannot deal with relative HREFs
           Product: Slide
           Version: Nightly
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WebDAV client
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: max@linuxtag.org


when calling WebdavResource.listWebdavResources(), all the HREFs returned by
mod_dav_fs are relative (e.g. "foo/", "bar/").
WebdavResource.setWebdavProperties does not find a slash at the beginning of
this HREF, so it thinks it must call GenericURI.getPath(href).

GenericURI.getPath makes the HREF unusable, rendering every collection element
(HREF ending with slash) to "/".

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org