Le correctif sur la version 1.9.0.0 échoue également (probablement de la version 1.8.0.0 à la version 1.9.0.1 concernée) en raison de SUPEE-3941. 3941 correctifs téléchargeur / lib / Mage / HTTP / Client / Curl.php et maintenant le 8788 échoue.
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
Solution de contournement pour 1.9.0.1 ci-dessous. Les modifications sont trop approfondies, vous devrez peut-être ajuster le correctif 8788 lui-même.
edit: édite le patch, recherche Curl.php et remplace
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
avec
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