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

Issue 6515009: FTP: Compatibility fix for "ls -l" style directory listing parser.... (Closed)

Created:
9 years, 10 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
eroman, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

FTP: Compatibility fix for "ls -l" style directory listing parser. Some servers, for example smallftpd, add an empty line at the end of the listing. We should not fail on those. I think this bug was introduced in 2009 by http://codereview.chromium.org/449011 Now we have more test cases, and this change shouldn't introduce new compatibility problems. BUG=72060 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75079

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -10 lines) Patch
A net/data/ftp/dir-listing-ls-24 View 1 chunk +2 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-ls-24.expected View 1 chunk +8 lines, -0 lines 0 comments Download
M net/ftp/ftp_directory_listing_buffer_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser_ls.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser_ls.cc View 2 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Paweł Hajdan Jr.
9 years, 10 months ago (2011-02-14 10:52:09 UTC) #1
wtc
9 years, 10 months ago (2011-02-15 04:06:43 UTC) #2
LGTM.

Powered by Google App Engine
This is Rietveld 408576698