ephios-dev/ephios

API: `/api/users/by_email` returns 404 error for email addresses with dots before the @

Closed this issue · 1 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to [ephios-url]/api/users/by_email/vorname.nachname@url.de/

Expected behaviour
Assuming the user exists, the information about the user should be returned.

Screenshots
Instead the page 404s.

Screenshot 2024-03-27 at 18 54 08

Environment
State which device, operating system, browser and browser version you are using.
MacOS 14.2.1 (23C71), Version 17.2.1 (19617.1.17.11.12)

Additional context

  • The problem does not appear for the test emails usaaa@localhost/, admin@localhost/ or user@localhost.com.

Thanks @felixrindt!