Skip to content

Share recipient search spins forever when the user search fails #3670

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Share recipient search spins forever when the user search fails. Cause: packages/web-app-files/src/composables/shares/useCollaboratorSearch.ts:60-63 has no try/catch; :20 quotes the term without escaping or trimming.

Reproduction Steps

  1. In the sharing panel type ma (2 characters, the server needs 3) or ma"r.

Expected Outcome

"No users or groups found" or an error message.

Actual Outcome

The request fails with 403 or 400 (unescaped quote) and the spinner never stops.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions