Patch pada 1.9.0.0 gagal juga (mungkin 1.8.0.0 hingga 1.9.0.1 terpengaruh) karena SUPEE-3941. 3941 patch downloader / lib / Mage / HTTP / Client / Curl.php dan sekarang 8788 gagal.
checking file downloader/lib/Mage/HTTP/Client/Curl.php
Hunk #1 FAILED at 378.
1 out of 1 hunk FAILED
checking file js/lib/uploader/flow.min.js
Solusi untuk 1.9.0.1 di bawah ini. Perubahannya terlalu menyeluruh, mungkin perlu menyesuaikan patch 8788 itu sendiri.
sunting: Edit tambalan, cari Curl.php dan ganti
diff --git downloader/lib/Mage/HTTP/Client/Curl.php downloader/lib/Mage/HTTP/Client/Curl.php
index c55f88d..31f9f77 100644
--- downloader/lib/Mage/HTTP/Client/Curl.php
+++ downloader/lib/Mage/HTTP/Client/Curl.php
@@ -378,8 +378,8 @@ implements Mage_HTTP_IClient
}
$this->curlOption(CURLOPT_URL, $uri);
- $this->curlOption(CURLOPT_SSL_VERIFYPEER, FALSE);
- $this->curlOption(CURLOPT_SSL_VERIFYHOST, 2);
+ $this->curlOption(CURLOPT_SSL_VERIFYPEER, true);
+ $this->curlOption(CURLOPT_SSL_VERIFYHOST, 'TLSv1');
// force method to POST if secured
if ($isAuthorizationRequired) {
diff --git js/lib/uploader/flow.min.js js/lib/uploader/flow.min.js
dengan
diff --git downloader/lib/Mage/HTTP/Client/Curl.php downloader/lib/Mage/HTTP/Client/Curl.php
index c55f88d..31f9f77 100644
--- downloader/lib/Mage/HTTP/Client/Curl.php
+++ downloader/lib/Mage/HTTP/Client/Curl.php
@@ -378,8 +378,8 @@ implements Mage_HTTP_IClient
$uriModified = $this->getSecureRequest($uri, $isAuthorizationRequired);
$this->_ch = curl_init();
$this->curlOption(CURLOPT_URL, $uriModified);
- $this->curlOption(CURLOPT_SSL_VERIFYPEER, false);
- $this->curlOption(CURLOPT_SSL_VERIFYHOST, 2);
+ $this->curlOption(CURLOPT_SSL_VERIFYPEER, true);
+ $this->curlOption(CURLOPT_SSL_VERIFYHOST, 'TLSv1');
$this->getCurlMethodSettings($method, $params, $isAuthorizationRequired);
if(count($this->_headers)) {
diff --git js/lib/uploader/flow.min.js js/lib/uploader/flow.min.js