redact personal email from examples and tests#33
Merged
Conversation
stevepridemore
added a commit
that referenced
this pull request
May 10, 2026
Replace `user@example.com` (real maintainer email) with the IETF-reserved `user@example.com` everywhere it appeared in tracked files: - src/shared/oauth.ts — comment block illustrating allowlist syntax - src/shared/oauth.test.ts — test fixtures for isEmailAllowed (~20 sites) - docs/REMOTE.md — OAUTH_ALLOWED_EMAILS documentation example - .env.example — commented-out config sample Wildcard examples switched from `*@example.com` to `*@example.org` so the mixed-list tests still exercise distinct literal vs. wildcard domains (previously the test wildcard was `*@example.com`, which would now overlap with the literal). Test names and subdomain-rejection cases updated to match. All 66 tests in oauth.test.ts still pass. LICENSE and the glama.json author/badge fields keep the maintainer name — those are deliberate copyright/attribution markers, not example data. History still contains the old strings; this commit only redacts the present tree, which was the requested scope. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
user@example.comeverywhere it appeared in tracked files:src/shared/oauth.ts(comments),src/shared/oauth.test.ts(~20 fixtures),docs/REMOTE.md,.env.example.*@example.orgso the mixed-list tests still exercise distinct literal vs. wildcard domains (the existing test wildcard was*@example.com, which would now overlap with the new literaluser@example.com).glama.jsonkeep the maintainer name — those are deliberate copyright/attribution markers, not example data.Test plan
npx vitest run src/shared/oauth.test.ts→ 66 / 66 pass🤖 Generated with Claude Code