Changeset 29119 in webkit
- Timestamp:
- Jan 3, 2008, 3:04:04 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r29116 r29119 1 2008-01-03 Luca Bruno <lethalman88@gmail.com> 2 3 Reviewed by Alp Toker. 4 5 Fix HTTP POST-based logins to sites like Facebook, GMail by ensuring 6 that the two POST methods don't conflict. 7 8 * platform/network/curl/ResourceHandleManager.cpp: 9 (WebCore::ResourceHandleManager::setupPOST): 10 1 11 2008-01-02 Darin Adler <darin@apple.com> 2 12 -
trunk/WebCore/platform/network/curl/ResourceHandleManager.cpp
r29037 r29119 298 298 ResourceHandleInternal* d = job->getInternal(); 299 299 300 curl_easy_setopt(d->m_handle, CURLOPT_POST, TRUE);301 302 300 job->request().httpBody()->flatten(d->m_postBytes); 303 301 if (d->m_postBytes.size() != 0) { 302 curl_easy_setopt(d->m_handle, CURLOPT_POST, TRUE); 304 303 curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDSIZE, d->m_postBytes.size()); 305 304 curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDS, d->m_postBytes.data()); … … 331 330 } 332 331 333 curl_easy_setopt(d->m_handle, CURLOPT_HTTPPOST, post); 332 if (post) 333 curl_easy_setopt(d->m_handle, CURLOPT_HTTPPOST, post); 334 334 } 335 335
Note:
See TracChangeset
for help on using the changeset viewer.