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] [Updated] (CMIS-980) Not Following Redirections in PHP CMIS Library
Date Tue, 31 May 2016 01:09:12 GMT

     [ https://issues.apache.org/jira/browse/CMIS-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steven Harding updated CMIS-980:
--------------------------------
    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.

  was:
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);


> 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);
> Of course, you CAN add these options yourself, but this one in particular should be built-in.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message