]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix extra attributes-xxx in responses.
authorMichael R Sweet <msweet@msweet.org>
Sun, 25 Jan 2026 01:44:01 +0000 (20:44 -0500)
committerMichael R Sweet <msweet@msweet.org>
Sun, 25 Jan 2026 01:44:01 +0000 (20:44 -0500)
scheduler/ipp.c

index 9368ee5aa117d46eeca5651b3dbdcb3fd48dabcd..72802ebf495f0ae69f5d33b48358942a6640d95d 100644 (file)
@@ -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"))
       {
        /*