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

Improper validation of Hong Kong Number #127

Open
paritosh-accedo opened this issue Jul 5, 2017 · 2 comments
Open

Improper validation of Hong Kong Number #127

paritosh-accedo opened this issue Jul 5, 2017 · 2 comments

Comments

@paritosh-accedo
Copy link

paritosh-accedo commented Jul 5, 2017

Steps to reproduce:

  1. Input a valid Hong Kong number in the following format.
    +852 XXXX XXXX

Result:
Invalid mobile number, form authentication fails.

Expected Result:
Mobile number is valid and form authentication should not fail.

@igiz0l
Copy link

igiz0l commented Jul 16, 2017

Faced this problem recently too, turns out that first digit after the dial code can only be 2,3,4,6,7 or 9
eg +852 1555 5555 is invalid
and +852 2555 5555 is valid

@JulianYeoh01
Copy link

Faced this problem with China Temecom too,
eg 17317151037 is invalid

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

3 participants