fix: avoid reading six-digit email domains as OTPs#83
Merged
cnlimiter merged 2 commits intocnlimiter:masterfrom Mar 24, 2026
Merged
fix: avoid reading six-digit email domains as OTPs#83cnlimiter merged 2 commits intocnlimiter:masterfrom
cnlimiter merged 2 commits intocnlimiter:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
解决#66
Cloudflare Worker 临时邮箱服务在提取验证码时,可能会把纯 6 位数字的邮箱域名误识别为验证码。
示例:
tester@123456.com654321123456根因是部分服务会直接对原始邮件内容做任意 6 位数字兜底匹配,而邮件内容里可能包含收件邮箱地址或 Worker 预提取字段,导致域名中的数字被优先命中。
变更
TempMailService,改用更安全的提取逻辑FreemailService,优先以真实邮件内容为准,verification_code仅作为最后兜底备注
upstream/fix1的合并情况