Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#286: [2.0.8RC1] Headers not passed to Gateway when using curl

Presently, if I try to pass headers to the Gateway class and my PHP setup has curl available to it the headers are completely ignored. It’s a pretty simple patch - around line 177 of symphony/lib/toolkit/class.gateway.php add the following lines:

if(is_array($this->_headers) && !empty($this->_headers)){
  curl_setopt($ch, CURLOPT_HTTPHEADER, $this->_headers);
}

I’ ve encountered this too, would be nice to see it fixed.

I added your patch to this commit :)

Cool. This might solve this too, I’ll give it a whirl.

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details