Hello the list, my config is : - server side : an apache server plus a module for WEBDAV - client side : jakarta slide webdab client 2.0 beta1
my code is very simple :
WebdavFile collectionDirectory = new WebdavFile(new HttpURL("http://ServerName/Toto/Directory with blank"));
File files[] = collectionDirectory.listFiles();
URLs never contain unescaped space characters.
the files list is not correct, the list contains all the files and subdirectories (this is ok), but also the root directory Directory%20with%20blank (this is ko ).
This looks ok, although I'd prefer the server to reject the request because of the illegal URI.
is my code correct ? why the file name is encoded? If you can something for me.
thanks.
<href> elements in PROPFIND responses contain URIs, and URIs never ever contain unescaped reserved (such as SP) or non-ASCII characters.
Julian
-- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
