From: Michael R Sweet Date: Tue, 17 Apr 2018 18:22:16 +0000 (-0400) Subject: Map , to p in phone numbers. X-Git-Tag: v2.3b5~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1de912d13b8553a5051f23402ba3d294515fdfc;p=thirdparty%2Fcups.git Map , to p in phone numbers. --- diff --git a/backend/ipp.c b/backend/ipp.c index 42b72d56bf..aa9d09a9fb 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 ++;