From 43be77c53c3cad3c4303c82de6aec58d6a4ae951 Mon Sep 17 00:00:00 2001 From: Brian Havard Date: Sun, 31 Mar 2002 07:48:56 +0000 Subject: [PATCH] Handle CR/LF terminated lines from CGI scripts. Reviewed by: Brian Pane git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94346 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util_script.c b/server/util_script.c index d5f6f893e1..0b9521f85f 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -645,7 +645,7 @@ static int getsfunc_BRIGADE(char *buf, int len, void *arg) if (*src == '\n') { done = 1; } - else { + else if (*src != '\r') { *dst++ = *src; } src++; -- 2.40.0