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: slide-dev@jakarta.apache.org
        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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to