From: scardinius Date: Wed, 17 Aug 2016 14:18:10 +0000 (+0200) Subject: CRM-19236: URL with unicode signs breaks down trackable urls X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=55bd8bb10248ac85b800f0f85618fa4c1a5ff169;p=civicrm-core.git CRM-19236: URL with unicode signs breaks down trackable urls --- diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 0265444b1b..f8e49bb0bc 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -634,7 +634,7 @@ ORDER BY i.contact_id, i.{$tempColumn} $patterns[] = '\\\\\{\w+\.\w+\\\\\}|\{\{\w+\.\w+\}\}'; $patterns[] = '\{\w+\.\w+\}'; - $patterns = '{' . implode('|', $patterns) . '}im'; + $patterns = '{' . implode('|', $patterns) . '}imu'; return $patterns; }