Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-12737 Handle cURL errors in class.api.php
  3. CRM-13343

Handle JSON decode errors in API requests for file_get_contents()

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.5, 4.4.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      I may have already filed this, but I can't find the issue, so here it is again.

      No-one sane uses file_get_contents() and it should be removed, but until it is, we can handle JSON errors there too.

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: