DO NOT REPLY [Bug 39497] New: - WebdavResource.listWebdavResources() decodes "+" (plus) incorrectly.

[email protected]
Newsgroups gmane.comp.jakarta.slide.devel
Message-ID <[email protected]/bugzilla/>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39497

           Summary: WebdavResource.listWebdavResources() decodes "+" (plus)
                    incorrectly.
           Product: Slide
           Version: Nightly
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDAV client
        AssignedTo: [email protected]
        ReportedBy: [email protected]


If a resource is read (PROPFIND) with includes a plus sign, it gets decoded to a
space.

to reproduce simply call listWebdavResources() on a resource which includes an
item with a '+' and it will come back as a space.

ie:

String newDirectory = "test-1.0+1";
webdavResource.mkcolMethod(newDirectory);
WebdavResource[] resources = webdavResource.listWebdavResources(); 
for (WebdavResource resource : resources)
{
  System.out.println(">>> '" + resource.getPath() + "'");
}

Output:
>>> 'test-1.0 1'

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.