Skip to content

[Guests] Guest addresses aren't normalized like the server stores them #4397

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

Guest addresses are used exactly as typed, but the server stores them lower-cased with a punycode domain (opencloud-eu/opencloud#3648, #3674). So an already invited address typed in different case is offered again and the share then fails with a 409, two spellings of one new address can end up in the same selection, and an address with a non-ASCII domain (e.g. x@müller.de) isn't offered at all, although the server accepts it and stores [email protected].

Reproduction Steps

  1. Invite [email protected] to a folder
  2. In the same Share panel, type [email protected]: it's offered as (Guest), pick it and share
  3. Type guest@müller.de

Expected Outcome

The case variant is recognised as already shared and not offered. The non-ASCII domain is offered as a guest.

Actual Outcome

Step 2: "Failed to add share", server answers 409. Step 3: "No users or groups found".

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