diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-24 23:06:09 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-24 23:06:09 +0000 |
commit | 52d97c2afd64feed9ee0c056fc04227a5bbf11c8 (patch) | |
tree | c2463b3f059876df49ed613a5d8e16ecb554091b /webkit/glue/weburlresponse_extradata_impl.cc | |
parent | cb17aadff2900839a2f3d7cfe7bef9d6b34244aa (diff) | |
download | chromium_src-52d97c2afd64feed9ee0c056fc04227a5bbf11c8.zip chromium_src-52d97c2afd64feed9ee0c056fc04227a5bbf11c8.tar.gz chromium_src-52d97c2afd64feed9ee0c056fc04227a5bbf11c8.tar.bz2 |
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
Review URL: https://chromiumcodereview.appspot.com/10440014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/weburlresponse_extradata_impl.cc')
-rw-r--r-- | webkit/glue/weburlresponse_extradata_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/weburlresponse_extradata_impl.cc b/webkit/glue/weburlresponse_extradata_impl.cc index 27ca642..59e43ff 100644 --- a/webkit/glue/weburlresponse_extradata_impl.cc +++ b/webkit/glue/weburlresponse_extradata_impl.cc @@ -8,7 +8,8 @@ namespace webkit_glue { WebURLResponseExtraDataImpl::WebURLResponseExtraDataImpl( const std::string& npn_negotiated_protocol) - : npn_negotiated_protocol_(npn_negotiated_protocol) { + : npn_negotiated_protocol_(npn_negotiated_protocol), + is_ftp_directory_listing_(false) { } WebURLResponseExtraDataImpl::~WebURLResponseExtraDataImpl() { |