On login, copying formatted emails from slack throws email is not valid
error
#10037
Labels
🐛 bug
Something isn't working as expected. This can be an error or an unexpected user experience
Description
This was a unexpected bug in the frontend on login.
The same email, throws a different error if the emails was copied from slack. I'm still not sure how to replicate this "bad strings" with another email, but copying it from this thread fails all the time.https://lightdash.slack.com/archives/C071TU6FZ3P/p1715209151450089?thread_ts=1715205246.461809&cid=C071TU6FZ3P
Email is correct, it does a backend request to check login and password:
Copied and modified email, it shows not valid in the fronted:
We should probably do a sanitization or something. We could check what's the value in the imput, see if the htmlEncode is different.
Thread: https://lightdash.slack.com/archives/C071TU6FZ3P/p1715351576209839?thread_ts=1715205246.461809&cid=C071TU6FZ3P
Steps to Reproduce the Bug or Issue
email is not valid
error (doesn't do backend request)version
No response
Cloud or self-hosting
None
The text was updated successfully, but these errors were encountered: