Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9975

packages/HTTP/Request.php is old, should be updated

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Incomplete
    • Affects Version/s: 4.1.1
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding

      Description

      The PEAR HTTP_Request object is used to make HTTP requests in some places in CiviCRM, but it has been superseded (but not quite deprecated) by HTTP_Request2:
      http://pear.php.net/package/HTTP_Request

      It's only used in a couple places:

      ./tools/extensions/org.civicrm.payment.googlecheckout/GoogleCheckout.php
      ./CRM/Core/Payment/Google.php
      ./CRM/Utils/System.php
      ./CRM/Utils/Address/USPS.php
      ./CRM/Utils/Sunlight.php
      ./CRM/Utils/Geocode/Google.php

      We can replace HTTP_Request with HTTP_Request2 and then update all the code that uses it, or we can replace it all with curl instead.

      Should Extension maintainers be notified when package is removed??

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                micah Micah Lee
                Reporter:
                micah Micah Lee
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: