collab icon indicating copy to clipboard operation
collab copied to clipboard

Phone number parsing is overly simplistic

Open m3brown opened this issue 9 years ago • 0 comments

https://github.com/cfpb/collab/blob/master/core/helpers.py#L34

Phone number parsing assumes the phone number is digits only, with no spaces, dashes, or periods. This would be find if the phone number was cleansed when created, but this is not the case.

Either:

  1. Ensure the phone number is cleansed when saved
  2. Have a phone number formatted that is more flexible

m3brown avatar Apr 05 '16 19:04 m3brown