[GH-ISSUE #399] [BUG] 邮箱前缀无法加入符号 #139

Closed
opened 2026-02-26 20:35:51 +03:00 by kerem · 3 comments
Owner

Originally created by @Ednn0nd1au on GitHub (Aug 11, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/399

复现步骤

邮箱前缀无法使用 · 符号,即在创建账号处输入 a.b@test.com,会自动生成 ab@test.com

预期行为

生成 a.b@test.com

部署方式

  • cli 部署
  • 用户界面部署
Originally created by @Ednn0nd1au on GitHub (Aug 11, 2024). Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/399 ## 复现步骤 邮箱前缀无法使用 `·` 符号,即在创建账号处输入 a.b@test.com,会自动生成 ab@test.com ## 预期行为 生成 a.b@test.com ## 部署方式 - [x] cli 部署 - [ ] 用户界面部署
kerem closed this issue 2026-02-26 20:35:51 +03:00
Author
Owner

@dreamhunter2333 commented on GitHub (Aug 12, 2024):

这个是设计如此,因为大多数平台会将大小写以及.符号忽略,不同邮箱去掉. 符号以及忽略大小写后会变成同一个邮箱,

所以最终只允许了纯小写字母作为邮箱,后续我可以加个配置项,做成可配置的,但是不同邮箱会冲突这个就不可避免了

<!-- gh-comment-id:2283027039 --> @dreamhunter2333 commented on GitHub (Aug 12, 2024): 这个是设计如此,因为大多数平台会将大小写以及.符号忽略,不同邮箱去掉. 符号以及忽略大小写后会变成同一个邮箱, 所以最终只允许了纯小写字母作为邮箱,后续我可以加个配置项,做成可配置的,但是不同邮箱会冲突这个就不可避免了
Author
Owner

@Ednn0nd1au commented on GitHub (Aug 13, 2024):

feature/dev 看到了加入regex,测试完美,谢谢~

<!-- gh-comment-id:2285119438 --> @Ednn0nd1au commented on GitHub (Aug 13, 2024): feature/dev 看到了加入regex,测试完美,谢谢~
Author
Owner

@dreamhunter2333 commented on GitHub (Aug 13, 2024):

feature/dev 看到了加入regex,测试完美,谢谢~

<!-- gh-comment-id:2285278882 --> @dreamhunter2333 commented on GitHub (Aug 13, 2024): > feature/dev 看到了加入regex,测试完美,谢谢~ 赞
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudflare_temp_email#139
No description provided.