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

CiviMail does not correctly rewrite some URLs for tracking

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.2
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None

      Description

      I currently use CIviCRM 3.3.2 with Joomla.

      Due to how Joomla generates URLs from article titles by replacing whitespaces with dashes, some of the links we embed in our newsletters end with dashes, and these links get mangled by CiviMail's rewriting.

      For example, the following HTML:

      <p><a href="http://yoursdp.org/index.php/news/singapore/4470-sdp-proposes-alternative-ns-policy-" target="_blank">Read more</a></p>
      <p><a href="http://yoursdp.org/index.php/news/singapore/4470-" target="_blank">Read more</a></p>

      gets rewritten as:

      <p><a http://yoursdp.org/administrator/components/com_civicrm/civicrm/extern/url.php?u=166&qid=31593-" target="_blank">Read more</a></p>
      <p><a http://yoursdp.org/administrator/components/com_civicrm/civicrm/extern/url.php?u=169&qid=31593-" target="_blank">Read more</a></p>

      This can be easily worked around by removing trailing dashes since Joomla ignores them.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              kaixiong Chong Kai Xiong
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: