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

CiviMail: Ampersands in tracked URLs are no longer decoded (regression)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.4
    • Fix Version/s: 4.7.8
    • Component/s: None
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Amersands in trackable URLs get encoded before they are saved.

      The extern\url.php script used to call CRM_Utils_System::redirect, which rewrites '

      &

      to

      &

      However since CRM-17953 it doesn't any more, so any URL with an ampersand is now broken =[

      Proposed fix:
      Why can't we use CRM_Utils_System::redirect, we call Utils_System again below it, so it must be available to Civi - if not then let's include that file so we can use it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                monish.deb Monish Deb
                Reporter:
                john John K.
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m