← Back to team overview

mahara-contributors team mailing list archive

[Bug 909168] A change has been merged

 

Reviewed:  https://reviews.mahara.org/969
Committed: http://gitorious.org/mahara/mahara/commit/cdc39e43447c3a5f9ae0e8e21782ea2adf8b9aa6
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch:    master

commit cdc39e43447c3a5f9ae0e8e21782ea2adf8b9aa6
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date:   Thu Jan 5 16:42:43 2012 +1300

    When open_basedir is set, don't set CURLOPT_FOLLOWLOCATION (bug #909168)
    
    Trying to set this option fails when an open_basedir restriction is in
    effect.  This patch also checks open_basedir and adds a warning to the
    admin area, and in the sanity check for an unwritable dataroot, the
    open_basedir directories are listed on the screen as a hint for
    installation.
    
    Change-Id: Ic394517f436955b038f321b06011b818d4967026
    Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/909168

Title:
  Curl followlocation option fails with some php settings

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  See http://mahara.org/interaction/forum/topic.php?id=3514#post18892

  Setting the CURLOPT_FOLLOWLOCATION option sometimes fails - maybe due
  to an open_basedir setting.  We should find out what causes the
  failure, and test in mahara_http_request before attempting to set it.
  We'll also need to add a check in site_warnings(), and a message on
  the admin homepage explaining what might be broken when we can't use
  CURLOPT_FOLLOWLOCATION.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/909168/+subscriptions


References