qazaq-legacy-foundation-web/openspec/changes/archive/2026-11-17-qlfw-22-email-visible/design.md
Peppa 3806edd6e4
All checks were successful
peppa/lint lint: success за 1с
peppa/typecheck typecheck: success за 2с
peppa/test test: success за 1с
peppa/build build: success за 38с
ci / checks (pull_request) Successful in 1m27s
deploy / deploy (pull_request) Successful in 1m44s
QLFW-22: почта фонда не подменяется на [email protected]
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 16:10:39 +05:00

3 lines
598 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Решение
Cloudflare Email Address Obfuscation нельзя отключить из кода; документированный обход — комментарии `<!--email_off-->…<!--/email_off-->`. React не умеет выводить комментарии, поэтому ссылка собирается функцией `emailLinkHtml` (с экранированием) и вставляется через `dangerouslySetInnerHTML`; значение берётся из доверенного поля адреса, не из пользовательского ввода.