Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
cmislib 0.5.1
-
None
-
None
-
WAMP / LAMP
Description
The PHP version of CMISLIB doesn't tell CURL to follow redirects in the 'doRequest' function.
The current version of the Alfresco public CMIS server issues 302 responses as part of logging in, so supporting this is required for Alfresco compatibility.
Before the curl_exec, include the following line...
curl_setopt($session, CURLOPT_FOLLOWLOCATION, true);
Of course, you CAN add these options yourself, but this one in particular should be built-in.