You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the root folder has fileid 225364 and all files inside it have the same id. That's wrong.
Try to ask for fileid of any of these files, like: curl -u "user:password" -X PROPFIND -H "Content-Type: text/xml" --data-binary "@/tmp/propfind-fileid.xml" "http://localhost/remote.php/webdav/folder/1.jpg" | xmllint --format -. You will get:
GitMate.io thinks possibly related issues are #28341 (Wrong PROPFIND answer with depth infinity requests), #5777 ([webdav] Wrong MOVE requests deletes directory), #234 (Webdav - Wrong filesize for zip files), #28615 (Webdav API to access files by fileid), and #4370 (webdav via gvfs).
Steps to reproduce
curl -u "user:password" -X PROPFIND -H "Depth: infinity" -H "Content-Type: text/xml" --data-binary "@/tmp/propfind-fileid.xml" "http://localhost/remote.php/webdav/folder" | xmllint --format -
where/tmp/propfind-fileid.xml
contains:fileid
225364 and all files inside it have the same id. That's wrong.curl -u "user:password" -X PROPFIND -H "Content-Type: text/xml" --data-binary "@/tmp/propfind-fileid.xml" "http://localhost/remote.php/webdav/folder/1.jpg" | xmllint --format -
. You will get:Expected behaviour
When
Depth: infinity
header supplied,fileid
should be file id, not parent folder id.Server configuration
Operating system: debian jessie
Web server: apache
Database: mysql
PHP version: 7.0
ownCloud version: 10.0.8.5
Updated from an older ownCloud or fresh install: 9.1.x
/settings/integrity/failed: "No errors have been found."
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
The text was updated successfully, but these errors were encountered: