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

retain additional query variables in url.php

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.beta
    • Component/s: CiviMail
    • Labels:
      None

      Description

      When using hook_civicrm_alterMailParams to add additional query variables to links with click through enabled, the links will look like

      http://www.example.com/sites/all/modules/civicrm/extern/url.php?qid=xxx&u=xxx&additional_param1=A&additional_param2=B,

      When the url redirect to the original email message occurs, the additional query variables are dropped.

      url.php should be rewritten to retain the additional query variables when redirecting since making hook_alterMailParams fire before the url rewrite occurs is not a viable options.

      The fix will be committed to 3.3 branch

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              xcf33 Chang Xiao
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: