Found a bug in the way that we generate the list of phone numbers in our queries while working on QUE-52. This ticket fixes the bug by changing the way we generate the list of phone numbers to search for by replacing non-numeric characters, e.g. + and -, with their url encoded equivalents. This allows us to query for multiple phone numbers via eHealth Exchange, which eHealth devs recommend.
Acceptance Criteria:
When a user make a query that includes a phone number either through the API or UI, the generated list of phone numbers uses url encoding and the query is successful.
Description:
Found a bug in the way that we generate the list of phone numbers in our queries while working on QUE-52. This ticket fixes the bug by changing the way we generate the list of phone numbers to search for by replacing non-numeric characters, e.g.
+
and-
, with their url encoded equivalents. This allows us to query for multiple phone numbers via eHealth Exchange, which eHealth devs recommend.Acceptance Criteria:
When a user make a query that includes a phone number either through the API or UI, the generated list of phone numbers uses url encoding and the query is successful.