-*- coding: utf-8 -*-
Changes with Apache 2.2.6
+ *) mod_dumpio: Fix for correct dumping of traffic on EBCDIC hosts
+ Data had been incorrectly converted twice, resulting in
+ garbled log output. [Martin Kraemer]
+
*) mod_autoindex: Add in Type and Charset options to IndexOptions
directive. This allows the admin to explicitly set the
content-type and charset of the generated page.
http://svn.apache.org/viewvc?view=rev&revision=429879
+1: niq, rpluem
- * mod_dumpio.c: EBCDIC patch for correct dumping
- Without this patch, the network data in dumpio's output are
- worthless, because ASCII chars are interpreted as EBCDIC
- (leaving almost no 'printable' chars over), plus the
- actual logging module retranslates control chars once again
- (incorrectly because they already were ascii)
- "from ebcdic to ascii", so that even the escped chars are
- useless for the user.
- Trunk version of patch:
- http://svn.apache.org/viewvc?rev=570753&view=rev
- +1: martin,jim,rpluem
-
* proxy/ajp_header.c: incorrect substring checks for header fields
The method of parsing the header line tokens is flakey:
it uses memcmp() to check, e.g., whether the header token is
if (nbytes) {
obuf = malloc(nbytes+1); /* use pool? */
memcpy(obuf, buf, nbytes);
+#if APR_CHARSET_EBCDIC
+ ap_xlate_proto_from_ascii(obuf, nbytes);
+#endif
obuf[nbytes] = '\0';
ap_log_error(APLOG_MARK, ptr->loglevel, 0, c->base_server,
"mod_dumpio: %s (%s-%s): %s",