Curl followlocation option fails with some php settings
Bug #909168 reported by
Richard Mansfield
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Richard Mansfield |
Bug Description
See http://
Setting the CURLOPT_
Changed in mahara: | |
assignee: | nobody → Richard Mansfield (richard-mansfield) |
Changed in mahara: | |
status: | Triaged → In Progress |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/969 gitorious. org/mahara/ mahara/ commit/ cdc39e43447c3a5 f9ae0e8e21782ea 2adf8b9aa6
Committed: http://
Submitter: Francois Marier (<email address hidden>)
Branch: master
commit cdc39e43447c3a5 f9ae0e8e21782ea 2adf8b9aa6
Author: Richard Mansfield <email address hidden>
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: Ic394517f436955 b038f321b06011b 818d4967026
Signed-off-by: Richard Mansfield <email address hidden>