Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1295

CURLOPT_FOLLOWLOCATION doesn't work with PHP safemode and openbasedir

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: PHP

      Description

      The CURLOPT_FOLLOWLOCATION doesn't work with PHP safemode and openbasedir turned on. I will generate an error. I've attached a patch to check for safemode and openbasedir, and disable FOLLOWLOCATION when one of those is enabled. So it won't give an error anymore.

        Attachments

        1. curl-safemode-SHINDIG-1295.diff
          1 kB
          Michiel Eghuizen

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ict4schools Michiel Eghuizen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: