Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROPFIND to /webdav root (old dav path) without remote.php returns html instead of xml #10334

Open
saw-jan opened this issue Oct 17, 2024 · 0 comments
Labels

Comments

@saw-jan
Copy link
Member

saw-jan commented Oct 17, 2024

Important

Found out that the url MUST end with / to work:
https://localhost:9200/webdav
✔️ https://localhost:9200/webdav/

Steps to reproduce

PROPFIND the root dav path

curl -XPROPFIND 'https://localhost:9200/webdav' -uadmin:admin -vk
< HTTP/1.1 200 OK
< Content-Type: text/html; charset=utf-8

<!DOCTYPE html><html>...

Expected behavior

207 Multi-Status xml response like with:

curl -XPROPFIND 'https://localhost:9200/dav/files/admin' -uadmin:admin -vk
< HTTP/1.1 207 Multi-Status

<?xml version="1.0"?>
<d:multistatus xmlns:s="http://sabredav.org/ns" xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
...

Actual behavior

returns html

@saw-jan saw-jan changed the title PROPFIND to /webdav (old dav path) without remote.php returns html instead of xml PROPFIND to /webdav root (old dav path) without remote.php returns html instead of xml Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant