On Mon, Apr 09, 2001 at 04:06:11PM -0400, Greg Ames wrote:
> [EMAIL PROTECTED] wrote:
> >
>
> > Turns out continuation lines in ftp can start with a space... fix detection
> > of these things in proxy_ftp.c
> >
>
> hmmmm...deja vu. HTTP has a folding feature, where header lines that
> start with a space or a tab are treated as a continuation of the
> previous line. Do tabs have any special meaning for FTP?
>
I do not believe that tabs have any special meaning in FTP. The continuation
lines in FTP can start with any character, the space is only a pad for when
the continuation line begins with a three digit number.
For example, the following response is completely valid:
250-Command OK
Second line with no space
666 Line with a number
250 Command finished
So the client needs to read everything between first line starting with 250-
and the line containing 250<sp>, so ap_getline will probaly not work.
-Ryan