Project

General

Profile

Bug #608

Webdav server fails to list folders with special characters

Added by Gabriele Bulfon 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
10/31/2018
Due date:
% Done:

0%

Estimated time:
Affects Version:
5.1.0
Fix Version:
Release Version:

Description

On a Nextcloud resource containing folders with special characters, the following error is thrown;
Caused by: org.apache.commons.vfs2.FileNotFolderException: Could not list the contents of “webdavs://bobby:***@/nextcloud/remote.php/webdav/BOLAGET/Anställning” because it is not a folder.
at com.sonicle.vfs2.provider.webdav.WebdavFileObject.isDirectory(WebdavFileObject.java:653)
at com.sonicle.vfs2.provider.webdav.WebdavFileObject.doListChildrenResolved(WebdavFileObject.java:427)
at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1008)
at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:121)
at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:943)
… 61 common frames omitted

Looks like characters like "åäö" are not supported, or some code is non UTF-8 aware.

Ref:
https://community.nethserver.org/t/utf-8-support-for-webdav-through-webtop5/11102

Also available in: Atom PDF