Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-980

Not Following Redirections in PHP CMIS Library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • cmislib 0.5.1
    • None
    • cmis-phplib
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Optrix Steven Harding
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: