Skip to content

fix(normalizer): handle stray plus signs and international prefixes - #4

Merged
Cod3ddy merged 2 commits into
fix/country-lookupfrom
fix/input-prefixes
Sep 30, 2026
Merged

Cod3ddy merged 2 commits into
fix/country-lookupfrom
fix/input-prefixes

Conversation

@Cod3ddy

@Cod3ddy Cod3ddy commented Sep 29, 2026

Copy link
Copy Markdown
Owner

A + is only accepted at the start of a number. ++265… and +265+99… are now errors instead of passing through unchanged.

The default country’s international prefix now works like +: 00 in most countries, 011 in North America, 0011 in Australia, taken from libphonenumber. 00265… no longer becomes +265265….

@Cod3ddy
Cod3ddy added this pull request to stack #8 September 29, 2026 21:29
@Cod3ddy
Cod3ddy merged commit 426f681 into main Sep 30, 2026
3 checks passed
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.

1 participant