owncloud / owncloud/ocis

Duplicated search results for received shares

Open
#9,892 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug
Received shares always show up as duplicated search results. This is especially bad since it means they can't be properly selected in the web ui.

## Steps to reproduce
1. Shared a file with another user
2. As the share receiver, search for that file via a webdav `REPORT` request:
```
curl 'https://localhost:9200/remote.php/dav/spaces' -u einstein:relativity \
-X 'REPORT' \
--data-raw $'name:"*FILENAME*"'
--insecure
```

## Expected behavior
The file should be listed once in the response.

## Actual behavior
The file is being listed 2 times in the response.

image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.