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

Embedded "Track Clickthrough" URLs are incorrect

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0, 2.1
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None

      Description

      When storing trackable URLs in the DB, CiviMail will prepend 'href="' to the front of the trackable URL.

      So in civicrm_mailing_trackable_url we see entries like,

      href="http://ls6.giantrobot.co.nz/index.php?q=civicrm/profile/edit&gid=9&reset=1&id=1037&cs=33d2ca5a2f54e498125f4ebf16790c40_1222727898_168

      Because we're using Drupal, this may not be detected; Drupal sees a request of the form

      http://ls6.giantrobot.co.nz/sites/all/modules/civicrm/extern/href=%22http://ls6.giantrobot.co.nz/index.php?q=civicrm/profile/edit&gid=9&reset=1&id=1037&cs=2972a90a9db705776035f6cca143ece6_1222725878_168

      but because the file 'sites/all/modules/civicrm/extern/href=%22' does not exist, it pays attention only to the query component:

      ?q=civicrm/profile/edit&gid=9&reset=1&id=1037&cs=2972a90a9db705776035f6cca143ece6_1222725878_168

      We see this behaviour on SVN r17296 of branches/v2.1

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: