Skip to content

Conversation

nodivbyzero
Copy link
Contributor

Fixes Or Enhances

This PR fixes a bug where the validation incorrectly allowed phone codes starting with +0.
A unit test has also been added for E.164 validation.

Connected to: #1475

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

@nodivbyzero nodivbyzero requested a review from a team as a code owner October 14, 2025 03:39
@coveralls
Copy link

Coverage Status

coverage: 73.73%. remained the same
when pulling abff33f on nodivbyzero:fix-e164-regexp
into 73c4755 on go-playground:master.

Copy link

@shedyfreak shedyfreak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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