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

Issue 11364204: FTP: fix compatibility with mod_ftp's LISTisNLST option. (Closed)

Created:
8 years, 1 month ago by Paweł Hajdan Jr.
Modified:
8 years, 1 month ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

FTP: fix compatibility with mod_ftp's LISTisNLST option. We can't unambiguously parse NLST listing (just file names, but they might have spaces, which might end up looking just like some other listing format), so we need to force a "proper" listing. It turns out issuing "LIST -l" command does so for mod_ftp, and is hopefully harmless for other servers. BUG=76999 TEST=Covered by net_unittests, also see bug for manual testing with mod_ftp. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167256

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M net/ftp/ftp_network_transaction.cc View 1 chunk +7 lines, -1 line 0 comments Download
M net/ftp/ftp_network_transaction_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Paweł Hajdan Jr.
8 years, 1 month ago (2012-11-12 17:14:30 UTC) #1
mmenke
LGTM
8 years, 1 month ago (2012-11-12 19:04:27 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phajdan.jr@chromium.org/11364204/1
8 years, 1 month ago (2012-11-12 22:21:39 UTC) #3
commit-bot: I haz the power
8 years, 1 month ago (2012-11-12 23:05:06 UTC) #4
Change committed as 167256

Powered by Google App Engine
This is Rietveld 408576698