Skip to content

fix(auth): show email addresses again, blurred until clicked - #227

Merged
PiquelChips merged 3 commits into
mainfrom
fix/email-obfuscation
Oct 29, 2026
Merged

PiquelChips merged 3 commits into
mainfrom
fix/email-obfuscation

Conversation

@PiquelChips

@PiquelChips PiquelChips commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Email addresses on auth's pages showed as [email protected], and clicking one opened a Cloudflare page asking for JavaScript. Cloudflare's Email Address Obfuscation rewrites every address in the HTML into a link decoded by a Cloudflare script, which our Content-Security-Policy blocks.

Auth now sends no-transform in every Cache-Control value, which Cloudflare honors by never rewriting the body. That covers every page and every other edge rewrite, with no dashboard setting to drift.

Addresses in the settings list and the admin dashboard now show blurred and appear when clicked (clicking again blurs them), like T3 Code's account email. A visually hidden checkbox holds the state, so it works with no script, which the admin dashboard does not allow.

Proved on a piqueld preview: Cache-Control: no-store, no-transform on settings and admin pages (public, max-age=3600, no-transform on discovery), and in Chromium the address starts blurred, a click or Space reveals it, and a second click blurs it again, on both the settings list and the admin user page. just db test: 258 passed.

Reviewed with review-loop: 1 round with 3× GPT 6.1 Sol and Claude Opus 5.5. Verdict: approved

Note

Written by Claude Opus 5.5 in Claude Code and reviewed by GPT 6.1 Sol and Claude Opus 5.5 (via T3 Code)

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 9 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d1d8f56c-ed29-4726-8309-1784e9ecf490
Commits

Reviewing files that changed from the base of the PR and between 6461fbc and 47c87cf.

Files selected for processing: 10
  • apps/auth-service/src/security/mod.rs
  • apps/auth-service/src/security/tests.rs
  • apps/auth-service/src/web/developers/tests.rs
  • apps/auth-service/src/web/settings/tests.rs
  • crates/ui/assets/style.css
  • crates/ui/src/admin/users.rs
  • crates/ui/src/layout.rs
  • crates/ui/src/settings/emails.rs
  • infra/README.md
  • tests/browser/developers.spec.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@PiquelChips
PiquelChips force-pushed the fix/email-obfuscation branch from efe0dea to 2ad25e1 Compare October 29, 2026 11:48
@PiquelChips
PiquelChips enabled auto-merge (squash) October 29, 2026 11:49
@PiquelChips PiquelChips self-assigned this Oct 29, 2026
@PiquelChips PiquelChips added enhancement New feature or request apps/web sourceorigin.dev: the homepage, policies and public profiles labels Oct 29, 2026
@PiquelChips PiquelChips added this to the 0.1 milestone Oct 29, 2026
@github-project-automation github-project-automation Bot moved this to Needs Triage in sourceorigin.dev Oct 29, 2026
@PiquelChips PiquelChips added the bug Something isn't working label Oct 29, 2026
@PiquelChips PiquelChips moved this from Needs Triage to In Progress in sourceorigin.dev Oct 29, 2026
@PiquelChips
PiquelChips force-pushed the fix/email-obfuscation branch from 2ad25e1 to 2842620 Compare October 29, 2026 12:03
PiquelChips and others added 3 commits October 29, 2026 13:05
Cloudflare's Email Address Obfuscation replaced addresses on auth's pages
with "[email protected]" links whose decoding script the
Content-Security-Policy blocks. Every Cache-Control value now carries
no-transform, so the edge never rewrites a body.

Addresses on the settings and admin pages are blurred until clicked, so a
shared screen does not show them, without a script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PiquelChips
PiquelChips force-pushed the fix/email-obfuscation branch from 2842620 to 47c87cf Compare October 29, 2026 12:05
@PiquelChips
PiquelChips merged commit 617c926 into main Oct 29, 2026
9 checks passed
@PiquelChips
PiquelChips deleted the fix/email-obfuscation branch October 29, 2026 12:13
@github-project-automation github-project-automation Bot moved this from In Progress to Done in sourceorigin.dev Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apps/web sourceorigin.dev: the homepage, policies and public profiles bug Something isn't working enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant