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

Failing for 9 digits italian number #198

Open
ppascualv opened this issue Aug 3, 2020 · 1 comment
Open

Failing for 9 digits italian number #198

ppascualv opened this issue Aug 3, 2020 · 1 comment
Labels
missing validation data data for some prefix/country is missing in the souce

Comments

@ppascualv
Copy link

It's returning true for an invalid phone number.
Numbers in Italia have 10 digits.

[17] pry(main)> Phonelib.valid_for_country?('+39348727418', :it)
=> true

@ppascualv ppascualv changed the title Failing for italian number Failing for 9 digits italian number Aug 3, 2020
@daddyz
Copy link
Owner

daddyz commented Oct 13, 2020

@ppascualv This number is also parsed as valid in original libphonenumber. You can check it here and open an issue for them

@daddyz daddyz added the missing validation data data for some prefix/country is missing in the souce label Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing validation data data for some prefix/country is missing in the souce
Projects
None yet
Development

No branches or pull requests

2 participants