Skip to content

LG-12027: Normalize whitespace in PII#9972

Merged
matthinz merged 3 commits intomainfrom
matthinz/12027-normalize-whitespace
Jan 25, 2024
Merged

LG-12027: Normalize whitespace in PII#9972
matthinz merged 3 commits intomainfrom
matthinz/12027-normalize-whitespace

Conversation

@matthinz
Copy link
Contributor

🎫 Ticket

Link to the relevant ticket:
LG-12027

🛠 Summary of changes

This PR updates Pii::Attributes to normalize whitespace (via squish).

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Go through IdV, using a YAML file for your identity document. Make sure the PII in the .yml file includes some weird whitespace in it.
  • After you've proofed, check the PII written for your profile and verify it does not include the whitespace

changelog: Bug Fixes, Identity verification, Normalize whitespace in PII
@matthinz matthinz requested a review from a team January 25, 2024 00:31
Looks like this can sometimes be a Date value, at least initially (roundtripping through JSON serialization turns it into a string).
@matthinz matthinz merged commit c8f4d51 into main Jan 25, 2024
@matthinz matthinz deleted the matthinz/12027-normalize-whitespace branch January 25, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants