Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 763F9200AF7 for ; Tue, 31 May 2016 00:39:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 75048160A3C; Mon, 30 May 2016 22:39:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B29D6160A19 for ; Tue, 31 May 2016 00:39:13 +0200 (CEST) Received: (qmail 54899 invoked by uid 500); 30 May 2016 22:39:12 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 54888 invoked by uid 99); 30 May 2016 22:39:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2016 22:39:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C53F42C14F8 for ; Mon, 30 May 2016 22:39:12 +0000 (UTC) Date: Mon, 30 May 2016 22:39:12 +0000 (UTC) From: "Steven Harding (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CMIS-980) Not Following Redirections in PHP CMIS Library MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 30 May 2016 22:39:14 -0000 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)