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

Social media image URLs should always use HTTP in emails

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.6
    • Fix Version/s: 4.5
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      When a site running over HTTPS emails a receipt that contains social media links (templates/CRM/common/SocialNetwork.tpl), the link image src attribute uses the HTTPS protocol. Not all mailer readers will render an image over HTTPS (e.g., Outlook) and the user sees placeholders instead of links in the receipt. HTTP should be used for these images.

      Background:
      The SocialNetwork.tpl file uses the base URL $config->userFrameworkResourceURL. CRM_Core_Config::_setUserFrameworkConfig() forces $this->userFrameworkBaseURL to use HTTPS inside a SSL connection.

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              keith@wellebee.com Keith Morgan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: