Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1100

Don't return headers as part of the response, when "follow location" option is used in "kCurlHelper" class

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.0-RC1
    • Fix Version/s: 5.2.0
    • Component/s: Data Management
    • Labels:
      None

      Description

      When trying to read page contents from given url via CURL library you might get 302 response header (redirect request to new page location) instead of 200 with proper page content.
      To solve this CURL has FOLLOW_LOCATION option that can be enabled. However this option doesn't work, when "option_basedir" or "safe_mode" settings in php.ini file are used.

      We solved this problem in #0001283 task (in 5.2.0-RC1), but a bug was made back then that resulted in headers returned along with queried url contents.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: