summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2002-03-31 09:48:56 +0200
committerBrian Havard <bjh@apache.org>2002-03-31 09:48:56 +0200
commit43be77c53c3cad3c4303c82de6aec58d6a4ae951 (patch)
treed9e24054607760dd29eabe4899be13150815c601 /server
parentRemoved the single-byte header reads from mod_cgid (diff)
downloadapache2-43be77c53c3cad3c4303c82de6aec58d6a4ae951.tar.xz
apache2-43be77c53c3cad3c4303c82de6aec58d6a4ae951.zip
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
Diffstat (limited to 'server')
-rw-r--r--server/util_script.c2
1 files changed, 1 insertions, 1 deletions
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++;