Open podliashanyk opened 1 year ago
This bug is not caused by Argus itself, but by the library that is used to validate phone numbers.
The stripping occurs here: https://github.com/daviddrysdale/python-phonenumbers/blob/a60408d5f75034f06cf79abd09eef9c83ad57877/python/phonenumbers/phonenumberutil.py#L2866
Now we need to decide if we want to add that part of validation ourselves or accept this bug.
Registered phone number contains no letters, but no error is reported by backend.
Suggested by @stveit in https://github.com/Uninett/Argus-frontend/pull/475#issuecomment-1410122159