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

Fix to Event Confirmation template to improve email deliverability

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5, 4.6, 4.6.6
    • Fix Version/s: 4.6.7
    • Component/s: CiviEvent
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      [Stackexchange gave me a Tumbleweed award when I raised this item for a posting that was ignored by everyone, but this issue is still important enough to me to raise a patch].

      A minor defect in the Event Confirmation email template inserts a <script> reference to a Google APIs resource which can appear to email scanning services as a security violation. In particular, if you route the Confirmation back to CiviCRM (via the Email Activity Processor), the email will not be imported because IDS detection doesn't like the use of remote scripts.

      The default Event Confirmation template uses the SocialNetworks.tpl to add social buttons to the confirmation email. SocialNetworks.tpl is shared with webpages. The Google API is only required by the webpages, not the emails. So the fix is simply to move the <script> reference into an IF statement that only applies if SocialNetworks is being used on a webpage.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              lsmithgo lionel smith-gordon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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