-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbug
Description
I found a potential regression or at least a change of search syntax:
When I do a search for a user without any content, I do receive:
NC21: http 207 with empty multistatus
master, NC22: http 207 with root folder of this user
You can test this with:
curl --request SEARCH \
--url http://localhost/nc/remote.php/dav \
--header 'Content-Type: text/xml' \
--header 'OCS-APIRequest: true' \
--data '<?xml version="1.0" encoding="UTF-8"?>
<d:searchrequest xmlns:d="DAV:" xmlns:oc="http://nextcloud.com/ns">
<d:basicsearch>
<d:select>
<d:prop>
<d:displayname />
</d:prop>
</d:select>
<d:from>
<d:scope>
<d:href>/files/test</d:href>
<d:depth>infinity</d:depth>
</d:scope>
</d:from>
<d:where>
<d:and>
<d:is-collection />
</d:and>
</d:where>
<d:orderby />
</d:basicsearch>
</d:searchrequest>'
@icewind1991 maybe?
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbug