You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jhoalx Can you check the raised PR and confirm that the new regex is fixing the problem? I didn't find many sources concerning Provider prefix, i followed the wikipedia article explanation.
@jhoalx Can you check the raised PR and confirm that the new regex is fixing the problem? I didn't find many sources concerning Provider prefix, i followed the wikipedia article explanation.
Describe the bug
the regex in this commit is passing landlines as valid.
isn't the function isMobilePhone() intended to validate Mobile phones Only?
please refer to
Landlines: https://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia#Landline_service
Mobile: https://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia#Mobile_service
Examples
0698345 and 9821235 passes as valid, are (apparently) landlines, not mobile
Additional context
Validator.js version: 13.5.2 (imported in express-validator 6.10.0)
Node.js version: 14.15.4
OS platform: Arch Linux
The text was updated successfully, but these errors were encountered: