Commit 74c5ab5e authored by Graham Leggett's avatar Graham Leggett
Browse files

Turns out continuation lines in ftp can start with a space... fix detection

of these things in proxy_ftp.c
PR:
Obtained from:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88747 13f79535-47bb-0310-9956-ffa450edef68
parent c94185ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ static int ftp_getrc_msg(conn_rec *c, apr_bucket_brigade *bb, char *msgbuf, int

/* FIXME: If the line was too long, read till LF */

	    mb = apr_cpystrn(mb, response+4, me - mb);
	    mb = apr_cpystrn(mb, response + (' ' == response[0] ? 1 : 4), me - mb);
	} while (memcmp(response, buff, 4) != 0);
    }