httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject [PATCH] 2.0.x remove formatting from ap_log_error calls
Date Thu, 10 Feb 2005 19:02:02 GMT
Patch against 2.0.x of below.

---------- Forwarded message ----------
From: Eric Covener <>
Date: Wed, 9 Feb 2005 09:36:09 -0500
Subject: [PATCH] remove formatting from ap_log_error calls

ap_log_error escapes escape sequences such as newline and tab so that
they appear as the two-character strings "\t" or "\n" in error_log
(unless httpd was built with -DAP_UNSAFE_ERROR_LOG_UNESCAPED) as
fallout from CAN-2003-0020

Some callers throughout the code still send '\n' within the string
argument sent to ap_log_error, trivial patch attached removes the
formatting from these calls.

Eric Covener

View raw message