4

Is it a bug in Magento 1.9.3.2 ?

I found this function in downloader\lib\Mage\HTTP\Client\Curl.php

/**
 * Set curl options array directly
 * @param array $array
 */
protected function curlOptions($array)
{
    curl_setopt_array($this->_ch, $arr);
}

Guessing $arr is undefined and should be $array

2

It's not really a bug, I'd say it's a human mistake because fortunately for us, this curlOptions method is never used in the Magento core.

However, you'll face issues if you have extensions using it but as it sits in the downloader folder it should not be used externally as the right class to use is the Varien_Http_Adapter_Curl class.

1

Taking a look at class history it seems to be a quite old bug you found there. https://github.com/OpenMage/magento-mirror/blob/magento-1.9/downloader/lib/Mage/HTTP/Client/Curl.php
You can contact Magento support to report the bug.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.