RocketChat / Rocket.Chat.Electron

Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
https://rocket.chat/
MIT License
1.59k stars 700 forks source link

Incorrect Email Validation on various pages #2943

Open smritidoneria opened 3 days ago

smritidoneria commented 3 days ago

Search before asking

Operating System

Operating System Version

MacOs

It happens on the web browser too?

Yes, it happens on the web browser too

Rocket.Chat Desktop App Version

4.1.0

Rocket.Chat Server Version

6.12.1

Describe the bug

Email Validation occur at various places.

  1. while registering , the email has incorrect validation.
  2. While exporting messages

Exporting Messages-

https://github.com/user-attachments/assets/ffc0b646-7b97-4a50-b42d-30ec1a9c359a

While registering-

https://github.com/user-attachments/assets/6a1b99c7-81e0-4123-b4ab-dd189d8d871f

How to Reproduce

While registering- Register yourself without the domain. The interface will lead to another page without showing any error.

Export message- Click on export messages Input the wrong email click send

Describe your Expected behavior

There should be proper email validation, not allowing user to login and export messages without the proper domain.

Anything else

This problem occurs everytime.

Are you willing to submit a code contribution?

smritidoneria commented 3 days ago

I'm willing to work on this, if this bug is accepted @jeanfbrito 🚀