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

"+44008123" considered "valid" #332

Open
travisTheOrange opened this issue Jan 22, 2025 · 0 comments
Open

"+44008123" considered "valid" #332

travisTheOrange opened this issue Jan 22, 2025 · 0 comments

Comments

@travisTheOrange
Copy link

travisTheOrange commented Jan 22, 2025

This number, "+44008123" is considered invalid in the original libphonenumber but valid through the Phonelib gem. Can you help me understand why?

After some digging I believe I figured out the issue, or at least narrowed it down a little. I think the issue comes from Phonelib::PhoneAnalyzer.analyze_single_country. For some odd reason the aforementioned number gets a match in this check where it shouldn't.

Image

Image

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

No branches or pull requests

1 participant