- Fixed TLS negotiation using OpenSSL with servers that require the TLS SNI
extension.
- Fixed error handling when reading a mixed `1setOf` attribute.
+- Fixed how `ippeveprinter` responds to an unsupported request character set.
- Removed hash support for SHA2-512-224 and SHA2-512-256.
- Removed `mantohtml` script for generating html pages (use
`https://www.msweet.org/mantohtml/`)
if (charset && strcasecmp(ippGetString(charset, 0, NULL), "us-ascii") && strcasecmp(ippGetString(charset, 0, NULL), "utf-8"))
{
// Bad character set...
- respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "Unsupported character set \"%s\".", ippGetString(charset, 0, NULL));
+ respond_ipp(client, IPP_STATUS_ERROR_CHARSET, "Unsupported character set '%s'.", ippGetString(charset, 0, NULL));
+ attr = ippCopyAttribute(client->response, charset, 0);
+ ippSetGroupTag(client->response, &attr, IPP_TAG_UNSUPPORTED_GROUP);
}
else if (!charset || !language || !uri)
{