Steven Harding created CMIS-980:
-----------------------------------
Summary: Not Following Redirections in PHP CMIS Library
Key: CMIS-980
URL: https://issues.apache.org/jira/browse/CMIS-980
Project: Chemistry
Issue Type: Bug
Components: cmis-phplib
Affects Versions: cmislib 0.5.1
Environment: WAMP / LAMP
Reporter: Steven Harding
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);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)