ttacon/libphonenumber

IsValidNumber -- Invalid numbers considered valid

loopfz opened this issue · 0 comments

Some invalid numbers (e.g. "+343511234567", "ES", possible pattern = "\d{9}") are not correctly rejected.

This is due to the regexp matching in isNumberPossibleForDesc() which is not strict enough.

I have a fix ready for this, will PR soon.