Don't include "\" in the printable form of the data because
it will be escaped later in processing, and the extra escaping
throws off the alignment. Just filter it out like unprintable
characters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1565777 13f79535-47bb-0310-9956-
ffa450edef68
while (*off < len && this_time < BYTES_LOGGED_PER_LINE) {
unsigned char c = data[*off];
- if (apr_isprint(c)) {
+ if (apr_isprint(c)
+ && c != '\\') { /* backslash will be escaped later, which throws
+ * off the formatting
+ */
*chars = c;
}
else {