Email validation regexp pattern is wrong #4370

Closed
opened 2026-02-21 18:06:07 -05:00 by yindo · 2 comments
Owner

Originally created by @k3ntar0 on GitHub (Jul 1, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.12-fix1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Open the invitation screen.
  2. Enter an email address that includes an alias, like me+alias@gmail.com.
  3. Click the 'Send Invite' button.
  4. A toast message appears stating "Invalid Email Format."

✔️ Expected Behavior

The system should accept email addresses with aliases (e.g., me+alias@gmail.com) and send an invitation.

Actual Behavior

The system displays a "Invalid Email Format" toast message and fails to send the invite, indicating a validation error.

Originally created by @k3ntar0 on GitHub (Jul 1, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.6.12-fix1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Open the invitation screen. 2. Enter an email address that includes an alias, like me+alias@gmail.com. 3. Click the 'Send Invite' button. 4. A toast message appears stating "Invalid Email Format." ### ✔️ Expected Behavior The system should accept email addresses with aliases (e.g., me+alias@gmail.com) and send an invitation. ### ❌ Actual Behavior The system displays a "Invalid Email Format" toast message and fails to send the invite, indicating a validation error.
yindo added the 🐞 bug label 2026-02-21 18:06:07 -05:00
yindo closed this issue 2026-02-21 18:06:07 -05:00
Author
Owner

@k3ntar0 commented on GitHub (Jul 1, 2024):

I'll try to fix it.

@k3ntar0 commented on GitHub (Jul 1, 2024): I'll try to fix it.
Author
Owner

@k3ntar0 commented on GitHub (Jul 1, 2024):

It was already fixed on main 🥲

@k3ntar0 commented on GitHub (Jul 1, 2024): It was already fixed on main 🥲
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#4370