Skip to content

Commit

Permalink
Map , to p in phone numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Apr 17, 2018
1 parent fbcc927 commit c1de912
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/ipp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2793,7 +2793,9 @@ new_request(
_httpDecodeURI(phone, keyword, sizeof(phone));
for (ptr = phone; *ptr;)
{
if (!strchr(allowed, *ptr))
if (*ptr == ',')
*ptr = 'p';
else if (!strchr(allowed, *ptr))
_cups_strcpy(ptr, ptr + 1);
else
ptr ++;
Expand Down

0 comments on commit c1de912

Please sign in to comment.