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

CURLOPT_FOLLOWLOCATION doesn't work with PHP safemode and openbasedir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: