fix: validate AI extracted link domains (#1075)

* fix: validate AI extracted link domains

* fix: validate extracted links against full email content

* refactor: simplify AI link domain guard

* refactor: keep AI domain fix prompt-only
This commit is contained in:
Dream Hunter
2026-07-04 16:56:12 +08:00
committed by GitHub
parent 70b30c2494
commit 3f1d800e90
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -12,6 +12,7 @@
### Bug Fixes
- fix: |AI Extract| Strengthen the prompt to keep original link domains from the email, preventing small models from rewriting verification-link domains (issue #1072)
- fix: |AI Extract| Convert HTML-only mail bodies into compact readable text before sending them to Workers AI, preventing long templates from pushing verification codes past the 4000-character truncation window
- fix: |Frontend| Add mobile Header page padding so the title and menu button no longer sit too close to the screen edge