From: Jeff Trawick Date: Tue, 7 Aug 2001 19:34:58 +0000 (+0000) Subject: mod_rewrite: Fix the line ending on some non-Unix systems for X-Git-Tag: 2.0.23~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca28a793ab282c83fbe609b2070499d666d9268d;p=apache mod_rewrite: Fix the line ending on some non-Unix systems for messages written to the rewrite log. Submitted by: Richard Labennett Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90001 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 6a88c03526..0ed8c1c722 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ Changes with Apache 2.0.23-dev + *) mod_rewrite: Fix the line ending on some non-Unix systems for + messages written to the rewrite log. + [Richard Labennett ] + *) All mod_autoindex query parsing is now quietly quashed with the IndexOption IgnoreClient. The IndexOption SuppressColumnSorting still drops the column sort 's for the column headers, but diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index c80181687b..b043c06de2 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -3209,7 +3209,7 @@ static void rewritelog(request_rec *r, int level, const char *text, ...) } apr_snprintf(str3, sizeof(str3), - "%s %s [%s/sid#%lx][rid#%lx/%s%s] (%d) %s\n", str1, + "%s %s [%s/sid#%lx][rid#%lx/%s%s] (%d) %s" APR_EOL_STR, str1, current_logtime(r), ap_get_server_name(r), (unsigned long)(r->server), (unsigned long)r, type, redir, level, str2);