Knowledgebase: 3rd Party Plugins
Drupal Issue: Large Cookies not Supported
Posted by Brandon Elliott on 30 October 2014 02:01 PM

This is a troubleshooting note that came about after quite a bit of testing. It seems that the original Drupal module is configured to pass COOKIES via curl. I'm not sure why or what cookies it is passing, but if the cookie becomes large enough, the request will fail with a 400 BAD REQUEST error.

We should consider to remove the following lines from the Drupal module:

$sAllCookies = '';
foreach($_COOKIE as $sKey=>$sValue){
     $sAllCookies .= $sKey."=".$sValue.";";
}
curl_setopt($rConnect, CURLOPT_COOKIE, $sAllCookies);

(0 vote(s))
Helpful
Not helpful

Contact Us | PagePix Benefits | Learn More | STW Forums | Our Partners | Privacy Policy | Terms of Use

©2016 ShrinkTheWeb. All rights reserved. ShrinkTheWeb is a registered trademark of ShrinkTheWeb.