1041: Add ftp_add_unparsed_line: HTML entities and more error checks.
commitb7d3b4f687d7ac5720de511b615f42b47441d80f
authorKalle Olavi Niemitalo <kon@iki.fi>
Thu, 4 Sep 2008 08:21:06 +0000 (4 11:21 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Thu, 4 Sep 2008 08:21:06 +0000 (4 11:21 +0300)
treecf28f8506e16dd37c9858b14ed567707dd4e0afb
parent298f3af6c61055b5bc2dacfdf8726ab61519bea6
1041: Add ftp_add_unparsed_line: HTML entities and more error checks.

Separate the formatting of unparsed lines from ftp_process_dirlist()
to a new function ftp_add_unparsed_line().  Check for all possible
out-of-memory errors.  Encode HTML metacharacters as entity references
and document how charsets are handled FTP directory listings.
Add a NEWS entry.
NEWS
src/protocol/ftp/ftp.c