slackware-current/source/n/httpd/httpd-2.4.58-r1914013.patch
Patrick J Volkerding 97075b27ca Sat Feb 3 20:54:00 UTC 2024
a/glibc-zoneinfo-2024a-noarch-1.txz:  Upgraded.
  This package provides the latest timezone updates.
n/ca-certificates-20240203-noarch-1.txz:  Upgraded.
  This update provides the latest CA certificates to check for the
  authenticity of SSL connections.
x/ibus-libpinyin-1.15.7-x86_64-1.txz:  Upgraded.
x/xdg-utils-1.2.0-noarch-1.txz:  Upgraded.
2024-02-03 22:29:12 +01:00

14 lines
622 B
Diff

# ./pullrev.sh 1914013
http://svn.apache.org/viewvc?view=revision&revision=1914013
--- httpd-2.4.58/modules/filters/mod_xml2enc.c
+++ httpd-2.4.58/modules/filters/mod_xml2enc.c
@@ -209,7 +209,7 @@
/* to sniff, first we look for BOM */
if (ctx->xml2enc == XML_CHAR_ENCODING_NONE) {
- ctx->xml2enc = xmlDetectCharEncoding((const xmlChar*)ctx->buf,
+ ctx->xml2enc = xmlDetectCharEncoding((const unsigned char*)ctx->buf,
ctx->bytes);
if (HAVE_ENCODING(ctx->xml2enc)) {
ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, APLOGNO(01432)