Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(873)

Issue 238001: Fix FTP directory listings for servers which use \n as the line break. (Closed)

Created:
11 years, 3 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix FTP directory listings for servers which use \n as the line break. The previous version of the code assumed that \r\n (CRLF) will always be used. The FTP spec is extremely imprecise about the LISTing format. TEST=See bug. BUG=22879 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27128

Patch Set 1 #

Total comments: 1

Patch Set 2 : updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M webkit/glue/ftp_directory_listing_response_delegate.cc View 1 1 chunk +7 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Paweł Hajdan Jr.
11 years, 3 months ago (2009-09-24 17:19:26 UTC) #1
wtc
LGTM. It's common in networking code to be strict in what we produce and be ...
11 years, 3 months ago (2009-09-24 17:56:45 UTC) #2
Paweł Hajdan Jr.
Patch updated. I'm going to commit it when the tree re-opens.
11 years, 3 months ago (2009-09-24 20:56:04 UTC) #3
wtc
11 years, 3 months ago (2009-09-25 15:30:04 UTC) #4
One note about the robust principle: an exception to that
rule is security.  A recent example is:
http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html
where some implementations of RSA digital signature
verifiers ignored "junk" bytes after they found the data
they were looking for.

Powered by Google App Engine
This is Rietveld 408576698