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

Issue 10440014: Correctly whitelist ftp directory listings. (Closed)

Created:
8 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 7 months ago
Reviewers:
tony, abarth-chromium, jam, marja
CC:
chromium-reviews, jochen+watch-content_chromium.org, brettw-cc_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Correctly whitelist ftp directory listings. Instead of guessing whether a page is actually a directory listing that requires JavaScript to work, just store this information in the WebURLResponse BUG=121399 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138925

Patch Set 1 #

Total comments: 2

Patch Set 2 : updates #

Total comments: 1

Patch Set 3 : really fix tests #

Patch Set 4 : remove multipart payload bits #

Patch Set 5 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -17 lines) Patch
M chrome/renderer/content_settings_observer.cc View 1 3 chunks +13 lines, -8 lines 0 comments Download
M chrome/renderer/content_settings_observer_unittest.cc View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M webkit/glue/ftp_directory_listing_response_delegate.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/glue/weburlresponse_extradata_impl.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/glue/weburlresponse_extradata_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
jochen (gone - plz use gerrit)
Marja, please review John, content/ approval Tony, webkit/ approval Adam, fyi
8 years, 7 months ago (2012-05-24 13:38:39 UTC) #1
marja
lgtm modulo nits https://chromiumcodereview.appspot.com/10440014/diff/1/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): https://chromiumcodereview.appspot.com/10440014/diff/1/chrome/renderer/content_settings_observer.cc#newcode316 chrome/renderer/content_settings_observer.cc:316: // Whitelist ftp directory listings, as ...
8 years, 7 months ago (2012-05-24 13:48:40 UTC) #2
jochen (gone - plz use gerrit)
all comments addressed
8 years, 7 months ago (2012-05-24 13:51:36 UTC) #3
jam
http://codereview.chromium.org/10440014/diff/7001/webkit/glue/multipart_response_delegate.cc File webkit/glue/multipart_response_delegate.cc (left): http://codereview.chromium.org/10440014/diff/7001/webkit/glue/multipart_response_delegate.cc#oldcode271 webkit/glue/multipart_response_delegate.cc:271: response.setIsMultipartPayload(has_sent_first_response_); so can someone still do response.isMultipartPayload()? i.e. is ...
8 years, 7 months ago (2012-05-24 15:11:48 UTC) #4
jochen (gone - plz use gerrit)
On 2012/05/24 15:11:48, John Abd-El-Malek wrote: > http://codereview.chromium.org/10440014/diff/7001/webkit/glue/multipart_response_delegate.cc > File webkit/glue/multipart_response_delegate.cc (left): > > http://codereview.chromium.org/10440014/diff/7001/webkit/glue/multipart_response_delegate.cc#oldcode271 ...
8 years, 7 months ago (2012-05-24 15:21:40 UTC) #5
jochen (gone - plz use gerrit)
On 2012/05/24 15:21:40, jochen wrote: > On 2012/05/24 15:11:48, John Abd-El-Malek wrote: > > > ...
8 years, 7 months ago (2012-05-24 15:29:25 UTC) #6
tony
lgtm
8 years, 7 months ago (2012-05-24 17:16:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/10440014/9003
8 years, 7 months ago (2012-05-24 20:52:32 UTC) #8
commit-bot: I haz the power
8 years, 7 months ago (2012-05-24 23:06:11 UTC) #9
Change committed as 138925

Powered by Google App Engine
This is Rietveld 408576698