mirror of
https://github.com/apache/httpd.git
synced 2025-08-06 11:06:17 +00:00
Calm some overly agressive crlf handling
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -329,7 +329,7 @@ AP_DECLARE(apr_status_t) ap_rgetline_core(char **s, apr_size_t n,
|
||||
}
|
||||
}
|
||||
|
||||
if (last_char <= *s || last_char[-1] != APR_ASCII_CR) {
|
||||
if (crlf && (last_char <= *s || last_char[-1] != APR_ASCII_CR)) {
|
||||
*last_char = '\0';
|
||||
bytes_handled = last_char - *s;
|
||||
*read = bytes_handled;
|
||||
|
Reference in New Issue
Block a user