lookfirst / sardine

an easy to use webdav client for java
Other
574 stars 184 forks source link

chinese path can't get DavResource information in code "com.googlecode.sardine.getResources()" #354

Closed cqzaiercn closed 1 year ago

cqzaiercn commented 1 year ago

webdav url path like :
https://xxx/dav/139/oss/auto/myqq/rebootAutoSave/意外杀手2/

public List listFile(String filePath) throws IOException { Sardine sardine = SardineFactory.begin(config.getUserName(), config.getPassword()); return sardine.getResources(URLUtil.encode(filePath)); }

response info image

cqzaiercn commented 1 year ago

@lookfirst this issue can resolve?