[Bug]: DAV Request to to missing file returns 401 instead of 404 #33228
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: dav
needs info
Bug description
I used to sync files from Zotero via WebDAV but when I moved to v23 three months ago, the synchronisation failed. The odd thing is that the WebDAV connection first authenticates fine but when it requests a missing file
nonextistent.prop
, the server returns 401: "current user not logged in". (The 207 with a packed-up 404 is also odd.)If I understand the server logs correctly, the request to the non-existing file triggers a routing to "/apps/dashboard/", which throws the authentication error.
Steps to reproduce
Not quite sure, as I have not tested this with another WebDAV client.
Expected behavior
Looking for the
nonexistent.prop
should return a 404 and then Zotero would proceed with synchronisation.The only similar issues which I found, point towards server-side problems:
https://forums.zotero.org/discussion/comment/368887#Comment_368887
https://forums.zotero.org/discussion/93116/webdav-problems-webdav-server-by-powerfolder
Installation method
Manual installation
Operating system
No response
PHP engine version
PHP 7.4
Web server
Other
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
The webserver is nginx with proxy pass to apache https://manual.uberspace.de/background-http-stack/
The text was updated successfully, but these errors were encountered: