mar10 / wsgidav

A generic and extendable WebDAV server based on WSGI
https://wsgidav.readthedocs.io
MIT License
978 stars 150 forks source link

The request url of the file in the subdirectory is incorrect. #274

Closed feiniks closed 1 year ago

feiniks commented 1 year ago

Describe the bug A clear and concise description of what the bug is. Hello, after I use the latest master branch to deploy webdav, if I access a file in a secondary directory through a browser, such as dir/subdir/test.md, the corresponding request url of the file will become http:// 127.0.0.1:8080/test.md, this will return a 404 error, the correct url should be http://127.0.0.1:8080/dir/subdir/test.md. This should be related to this commit b96f07f3f28b2d99c9e86c9edef2cacaced24de8, can you confirm the issue. Thanks.

Expected behavior Files in subdirectories can be accessed through a browser.

mar10 commented 1 year ago

Could you try with the latest commits?

feiniks commented 1 year ago

Hello, the latest commit works fine. Thanks.

mar10 commented 1 year ago

Thanks