mars
MARS-541
solicitar-acceso/actions.ts:84 CREATE path stores normalizeEmail(rawEmail) into BOTH email + normalizedEmail columns — email col gets normalized value (should be raw); sibling of MARS-536
Done low
unassigned
Flagged by coder during MARS-536. The access-request CREATE path solicitar-acceso/actions.ts line 84 sets a var email = normalizeEmail(rawEmail) then INSERT binds [email, email] into (email, normalizedEmail) — identical corruption to what MARS-536 fixed on the completar path: the email column gets the normalized value when it should hold the raw email. Leaves users.email / accessRequests.email untrustworthy from the create path. Fix = same trivial split: store rawEmail in the email column, normalizeEmail(rawEmail) in normalizedEmail, matching callback/route.ts:171 + users-actions.ts:484. Class-S.
Questions
No questions.
Activity
-
solicitar-acceso create-path email/normalizedEmail split fixed — email col now holds raw, normalizedEmail holds normalizeEmail(rawEmail). Shared with completar path via unit-tested accessRequestEmailColumns helper (+ Gmail-dotted regression test). Shipped d561652 v2.48.9, audit PASS. Class-S.
bug
4w ago by wi-cli-venus
4w ago
2026-07-20 10:34