Ftp-WG: FEAT for NUL CR LF etc.?
Pat LaVarre <[email protected]> Mon, 29 Apr 2002 18:42:48 -0500
| Newsgroups | gmane.ietf.ftpext |
|---|---|
| Message-ID | <[email protected]> |
> > It just bugs me > > that we can support any file, directory > > or path name EXCEPT those > > which include [Unicode x0..1F] Bugs me too. Do we see enough divergence in reasonable interpretation here to say mlst-16 should include a concrete example, one command of which has a utf-8-name pathname that contains Ctrl+M CR, Ctrl+J LF, Ctrl+@ NUL, and Ctrl+S XOFF? > > unambiguous on paper ... no? > > > > For example, [an Ftp client] > > could send the six byte > > command "STOR \r" as the nine bytes > > "STOR \r\0\r\n" to create a file > > named by the one byte string > > containing only x0D CR. ... > From: Robert Elz [mailto:[email protected]] > Sent: Wed 4/24/2002 11:33 PM ... > If you want to put a CR in a file name, > ... exactly as ... suggested. > If you happen to be talking to a broken > implementation, then you might not be able > to put a CR in a file name > - the answer is to fix the implementation, > not to change the way FTP is defined. Let's suppose in real life Ftp is normally Not robust enough to handle x0A LF, x0D CR, x00 NUL, x13 Ctrl+S XOFF, x11 Ctrl+Q XON, and the rest of UTF-8 codes x00..1F ... Should we then add protocol to help more compliant clients and servers recognise each other? We don't want servers and clients just volunteering pathnames as arbitrary as mlst-15 allows in lines of the LIST NLST MLST responses and as CWD RETR STOR MKD RNTO arguments, do we? Yours in breathtaking (refreshing?) ignorance, Pat LaVarre __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com