jumy: "脱敏的邮箱, 会把git地址也算进去, 比如 git@xxxx". The EMAIL rule took
git@github.com out of git@github.com:o/r.git, so a remote reached the
model as {{EMAIL_…}}:o/r.git. git is the user every git host is reached
by over SSH (GitHub, GitLab, Gitee, a company's own), no one's mailbox.
realEmail, which the rule and the local model's EMAIL both ask, now says
no to a local part of git, any case. userhost already left git out
(notUsers). An address whose name only starts with git (gitte@,
git.lee@, github@) is still masked.
Run:
- TestGitRemoteIsNoEmail: 7 failures with the check pointed at another
name by hand, green with it.
- go test ./internal/redact (whole package, ok), the gateway's
Redact/Mask/Email/PII tests, gofmt -l.