From c1de912d13b8553a5051f23402ba3d294515fdfc Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 17 Apr 2018 14:22:16 -0400 Subject: [PATCH] Map , to p in phone numbers. --- backend/ipp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/ipp.c b/backend/ipp.c index 42b72d56b..aa9d09a9f 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -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 ++; -- 2.39.2