From: Michael R Sweet Date: Sun, 25 Jan 2026 01:44:01 +0000 (-0500) Subject: Fix extra attributes-xxx in responses. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32f266cbd8f9f0fc234fae8e5ed26a89c22b59a4;p=thirdparty%2Fcups.git Fix extra attributes-xxx in responses. --- diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 9368ee5aa1..72802ebf49 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -279,16 +279,6 @@ cupsdProcessIPPRequest( else uri = NULL; - if (charset) - ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_CHARSET, "attributes-charset", NULL, charset->values[0].string.text); - else - ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_CHARSET, "attributes-charset", NULL, "utf-8"); - - if (language) - ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, "attributes-natural-language", NULL, language->values[0].string.text); - else - ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, "attributes-natural-language", NULL, DefaultLanguage); - if (charset && _cups_strcasecmp(charset->values[0].string.text, "us-ascii") && _cups_strcasecmp(charset->values[0].string.text, "utf-8")) { /*