timestee / dart-webdav

A Easy WebDAV Client in Dart

Home Page:https://github.com/timestee/dart-webdav

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To many "/" in the request url

hauketoenjes opened this issue · comments

Hello,

i want to use your webdav client in my flutter app. I implemented it the following way:

Client client = Client("webdav.webdavserver.com", "user.name", "password", "",
    port: 8080, protocol: "https");

client.ls("/").then((list) {
    print(list);
});

The logs say the following:
I/flutter ( 6760): [wevdav] http send with method:PROPFIND path: url:https://webdav.webdavserver.com:8080//

My question is, if i am doing something wrong while using the library or is that a bug (intended behavior)?

Hauke

Seems a bug, i will check it later, maybe tomorrow, and pull request welcome.