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

Ensure safe chars for Petition cookies

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.16, 4.6.5, 4.7
    • Fix Version/s: 4.6.9
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Sanitize the elements being passed to setcookie in
      CRM/Campaign/BAO/Petition.php#272
      CRM/Campaign/BAO/Petition.php#272
      CRM/Campaign/BAO/Petition.php#272
      CRM/Campaign/BAO/Petition.php#273
      CRM/Campaign/BAO/Petition.php#273
      CRM/Campaign/BAO/Petition.php#273

      to ensure $petition_id and $activity_id are numeric.

        Attachments

          Activity

            People

            • Assignee:
              pradeep.nayak Pradeep Nayak
              Reporter:
              joemurray Joe Murray
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: