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
Describe the bug
The mobile number validation allows invalid phone numbers like +000000000000 and +9876543210123456, which ideally should not be considered valid. This issue is due to a bug in the regular expression used in the validation logic.
To Reproduce
Steps to reproduce the behavior:
Go to the mobile number validation function located here.
Try validating phone numbers like +000000000000 or +9876543210123456.
Observe that these numbers are incorrectly validated as valid.
Expected behavior
Phone numbers with formats like +000000000000 and overly long sequences like +9876543210123456 should not pass validation.
Additional context
This issue seems to be caused by the current regex pattern: regex link.
The text was updated successfully, but these errors were encountered:
Describe the bug
The mobile number validation allows invalid phone numbers like
+000000000000
and+9876543210123456
, which ideally should not be considered valid. This issue is due to a bug in the regular expression used in the validation logic.To Reproduce
Steps to reproduce the behavior:
+000000000000
or+9876543210123456
.Expected behavior
Phone numbers with formats like
+000000000000
and overly long sequences like+9876543210123456
should not pass validation.Additional context
This issue seems to be caused by the current regex pattern: regex link.
The text was updated successfully, but these errors were encountered: