Skip to content

fix(kyc): accept typographic apostrophes in addresses - #1127

Open
TochukwuJustice wants to merge 4 commits into
Heliobond:mainfrom
TochukwuJustice:Accept-typographic
Open

TochukwuJustice wants to merge 4 commits into
Heliobond:mainfrom
TochukwuJustice:Accept-typographic

Conversation

@TochukwuJustice

Copy link
Copy Markdown
Contributor

closes #967

Summary

  • Add the Unicode typographic apostrophe (U+2019) to the KYC address character allowlist.
  • Preserve support for the ASCII apostrophe (U+0027).
  • Add tests covering ASCII and typographic apostrophes in street and city names.
  • Add a negative test confirming unrelated typographic quotation marks remain invalid.

Reason

Phone keyboards insert typographic apostrophes into names such as Rue de l’Église. The previous allowlist rejected those addresses even though the equivalent ASCII form validated successfully.

The change accepts the specific apostrophe code point without expanding the allowlist to unrelated punctuation.

Derive quarterly CSV filenames from exported quarters instead of the current year.

Cover empty, single-quarter, same-year, and multi-year report labels.
Allow U+2019 in street and city names while preserving the existing punctuation allowlist.

Add regression coverage for ASCII and typographic apostrophes.
@vercel

vercel Bot commented Nov 24, 2026

Copy link
Copy Markdown

@TochukwuJustice is attempting to deploy a commit to the David Dada's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thanks for the PR! A maintainer will take a look shortly. ✨

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@TochukwuJustice Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@github-actions

Copy link
Copy Markdown

Thanks for the PR! A maintainer will take a look shortly. ✨

This branch has not been deployed

No deployments
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.

Accept typographic apostrophes in legitimate street and city names

1 participant