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

Issue 3774002: Fix FTP directory listing for ftp.cisco.com. (Closed)

Created:
10 years, 2 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

Fix FTP directory listing for ftp.cisco.com. BUG=58963 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62515

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -2 lines) Patch
A net/data/ftp/dir-listing-ls-18 View 1 chunk +3 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-ls-18.expected View 1 chunk +26 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.cc View 1 1 chunk +9 lines, -2 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser_ls_unittest.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Paweł Hajdan Jr.
The good thing about the design of this directory listing parser is that it doesn't ...
10 years, 2 months ago (2010-10-13 10:45:28 UTC) #1
wtc
LGTM. http://codereview.chromium.org/3774002/diff/1/5 File net/ftp/ftp_directory_listing_parser_ls.cc (right): http://codereview.chromium.org/3774002/diff/1/5#newcode144 net/ftp/ftp_directory_listing_parser_ls.cc:144: // Some FTP servers mix up the file ...
10 years, 2 months ago (2010-10-13 17:22:03 UTC) #2
wtc
10 years, 2 months ago (2010-10-13 17:23:36 UTC) #3
On 2010/10/13 10:45:28, Paweł Hajdan Jr. wrote:
>
> After applying this fix, all entries that should be there are displayed. We
> can't display size for some of them, but I think it's a fair tradeoff.

Do we display "0" or "unknown" as the file size for such a
problematic entry?  Ideally we should display "unknwon" or
nothing, because "0" would be inaccurate.

Powered by Google App Engine
This is Rietveld 408576698