]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix report_attr() to handle nameWithLanguage, textWithLanguage, and octetString tags
authorg0r3 <3685646+g0r3@users.noreply.github.com>
Fri, 13 Mar 2026 15:33:53 +0000 (16:33 +0100)
committerg0r3 <3685646+g0r3@users.noreply.github.com>
Fri, 13 Mar 2026 15:33:53 +0000 (16:33 +0100)
backend/ipp.c

index a2bdb924aff056323c9994b1111f1d5f967c2ef4..853654a5e7f86fdaf1cf9a12ef3aab2658b2f9a0 100644 (file)
@@ -3145,8 +3145,11 @@ report_attr(ipp_attribute_t *attr)       /* I - Attribute */
          break;
 
       case IPP_TAG_TEXT :
+      case IPP_TAG_TEXTLANG :
       case IPP_TAG_NAME :
+      case IPP_TAG_NAMELANG :
       case IPP_TAG_KEYWORD :
+      case IPP_TAG_STRING :
           quote_string(attr->values[i].string.text, valptr, (size_t)(value + sizeof(value) - valptr));
           valptr += strlen(valptr);
           break;