chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Harding (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-980) Not Following Redirections in PHP CMIS Library
Date Mon, 30 May 2016 22:39:12 GMT
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)

Mime
View raw message