diff options
author | Brian Havard <bjh@apache.org> | 2002-03-31 09:48:56 +0200 |
---|---|---|
committer | Brian Havard <bjh@apache.org> | 2002-03-31 09:48:56 +0200 |
commit | 43be77c53c3cad3c4303c82de6aec58d6a4ae951 (patch) | |
tree | d9e24054607760dd29eabe4899be13150815c601 /server | |
parent | Removed the single-byte header reads from mod_cgid (diff) | |
download | apache2-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.c | 2 |
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++; |