From 4736610c8c5210c61efbf985b7e56843c7cfa219 Mon Sep 17 00:00:00 2001 From: "ananta@chromium.org" Date: Fri, 4 Mar 2011 06:43:35 +0000 Subject: Revert 76880 - ChromeFrame would fail to upload POST data to the server if the webserver requested NTLM authentication. This is due to a bug in urlmon on IE6 and IE7 which manifests itself when the post data is passed to urlmon as an IStream. Fix is to pass in the uploaded data as a HGLOBAL. We always pass in a copy of the HGLOBAL which points to the posted data to urlmon. This is to have it accessible for reissuing navigation requests which target downloads. Fixes bug http://code.google.com/p/chromium/issues/detail?id=62687 BUG=62687 TEST=manually at this point. As we need a server which supports NTLM authentication like IIS. Review URL: http://codereview.chromium.org/6603006 TBR=ananta@chromium.org Review URL: http://codereview.chromium.org/6626008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76886 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_frame_activex_base.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome_frame/chrome_frame_activex_base.h') diff --git a/chrome_frame/chrome_frame_activex_base.h b/chrome_frame/chrome_frame_activex_base.h index 0472906..b80caf1 100644 --- a/chrome_frame/chrome_frame_activex_base.h +++ b/chrome_frame/chrome_frame_activex_base.h @@ -475,8 +475,7 @@ END_MSG_MAP() NavigateBrowserToMoniker( doc_site_, download_params->moniker, UTF8ToWide(download_params->request_headers).c_str(), - download_params->bind_ctx, NULL, download_params->post_data, - download_params->post_data_len); + download_params->bind_ctx, NULL, download_params->post_data); } return TRUE; } -- cgit v1.1