Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Phone number parsing is overly simplistic #53

@m3brown

Description

@m3brown

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions