Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isMobilePhone does not validate Cyprus mobile phone numbers correctly #2513

Open
rezk2ll opened this issue Jan 7, 2025 · 0 comments · May be fixed by #2514
Open

isMobilePhone does not validate Cyprus mobile phone numbers correctly #2513

rezk2ll opened this issue Jan 7, 2025 · 0 comments · May be fixed by #2514
Labels

Comments

@rezk2ll
Copy link

rezk2ll commented Jan 7, 2025

Describe the bug
Cyprus mobile phone numbers are not validated correctly.

the current validation only counts numbers in this format +357 96xxxxxx and +357 99xxxxxx to be valid.

Screenshot from 2025-01-07 09 06 27

Examples

  • +357 95 72 4007 is a valid phone number but not validated correctly.

Reproductions

  • validated a Cyprus mobile phone number that is not in this format +357 96xxxxxx and +357 99xxxxxx:
  • example: +357 95 72 4007

Additional context
Validator.js version: 13.12.0

rezk2ll added a commit to rezk2ll/validator.js that referenced this issue Jan 7, 2025
🐛 fix(isMobilePhone): fix Cyprus mobile phone numbers validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant