langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

Home Page:https://dify.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Email validation regexp pattern is wrong

k3ntar0 opened this issue · comments

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.

I'll try to fix it.

It was already fixed on main 🥲