-
Notifications
You must be signed in to change notification settings - Fork 196
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
[old/new/spaces] In ocis and oc10, REPORT
request response differently
#4712
Comments
REPORT
request response differently REPORT
request response differently
We also noticed this in Web: owncloud/web#7780 Not only oCIS and oC10 seems to differ, but also the |
The different response now appears in oc10( for filesIn OCI10 for files<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns">
<d:response>
<d:href>/core/remote.php/webdav/upload.txt</d:href>
<d:propstat>
<d:prop>
<oc:fileid>2147484333</oc:fileid>
<oc:permissions>RDNVW</oc:permissions>
<d:getlastmodified>Wed, 27 Sep 2023 06:45:15 GMT</d:getlastmodified>
<d:getetag>"c05d28939126b204548392c0d47e89e0"</d:getetag>
<d:getcontenttype>text/plain</d:getcontenttype>
<oc:size>12</oc:size>
<oc:owner-id>admin</oc:owner-id>
<oc:owner-display-name>admin</oc:owner-display-name>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
</d:multistatus>
In OCIS for files<d:multistatus xmlns:s="http://sabredav.org/ns" xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
<d:response>
<d:href>/remote.php/dav/spaces/db19f47e-f46a-485a-980a-96c9996b37ce$6be41e1b-338d-4d42-86d4-6444d779454e/upload.txt</d:href>
<d:propstat>
<d:prop>
<oc:fileid>db19f47e-f46a-485a-980a-96c9996b37ce$6be41e1b-338d-4d42-86d4-6444d779454e!80f0ddce-5f9f-4f7a-a50c-c9bace6a8022</oc:fileid>
<oc:file-parent>db19f47e-f46a-485a-980a-96c9996b37ce$6be41e1b-338d-4d42-86d4-6444d779454e!6be41e1b-338d-4d42-86d4-6444d779454e</oc:file-parent>
<oc:name>upload.txt</oc:name>
<d:getlastmodified>2023-09-27T07:03:27Z</d:getlastmodified>
<d:getcontenttype>text/plain</d:getcontenttype>
<oc:permissions>RDNVW</oc:permissions>
<oc:highlights></oc:highlights>
<oc:tags></oc:tags>
<d:getetag></d:getetag>
<d:resourcetype></d:resourcetype>
<d:getcontentlength>35604</d:getcontentlength>
<oc:score>3.9463601112365723</oc:score>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
</d:multistatus>
for foldersIn OCIS for folders<d:multistatus xmlns:s="http://sabredav.org/ns" xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
<d:response>
<d:href>/remote.php/dav/spaces/db19f47e-f46a-485a-980a-96c9996b37ce$6be41e1b-338d-4d42-86d4-6444d779454e/folder</d:href>
<d:propstat>
<d:prop>
<oc:fileid>db19f47e-f46a-485a-980a-96c9996b37ce$6be41e1b-338d-4d42-86d4-6444d779454e!945bb0a3-4bab-4532-a3a2-157e5c109eaf</oc:fileid>
<oc:file-parent>db19f47e-f46a-485a-980a-96c9996b37ce$6be41e1b-338d-4d42-86d4-6444d779454e!6be41e1b-338d-4d42-86d4-6444d779454e</oc:file-parent>
<oc:name>folder</oc:name>
<d:getlastmodified>2023-09-28T04:58:39Z</d:getlastmodified>
<d:getcontenttype>httpd/unix-directory</d:getcontenttype>
<oc:permissions>RDNVCK</oc:permissions>
<oc:highlights></oc:highlights>
<oc:tags></oc:tags>
<d:getetag></d:getetag>
<d:resourcetype>
<d:collection/>
</d:resourcetype>
<oc:size>0</oc:size>
<oc:score>1.8533624410629272</oc:score>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
</d:multistatus>
In OC10 for folders<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns">
<d:response>
<d:href>/core/remote.php/webdav/folder</d:href>
<d:propstat>
<d:prop>
<oc:fileid>2147484338</oc:fileid>
<oc:permissions>RDNVCK</oc:permissions>
<d:getlastmodified>Thu, 28 Sep 2023 05:05:50 GMT</d:getlastmodified>
<d:getetag>"651509ae5853f"</d:getetag>
<oc:size>0</oc:size>
<oc:owner-id>admin</oc:owner-id>
<oc:owner-display-name>admin</oc:owner-display-name>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
<d:propstat>
<d:prop>
<d:getcontenttype/>
</d:prop>
<d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
</d:multistatus>
In ocis while searching
In OC10 and OCIS, the response value are different. |
I remember that the response was different between file and folder. could you also report what were the differences? |
Describe the bug
While searching for files | folder with REPORT method, different response comes in oc10 and ocis
Steps to reproduce
Steps to reproduce the behavior:
Main difference
In oc10
In ocis
Question
Detail
In oc10
In Ocis
The text was updated successfully, but these errors were encountered: