From 55bd8bb10248ac85b800f0f85618fa4c1a5ff169 Mon Sep 17 00:00:00 2001 From: scardinius Date: Wed, 17 Aug 2016 16:18:10 +0200 Subject: [PATCH] CRM-19236: URL with unicode signs breaks down trackable urls --- CRM/Mailing/BAO/Mailing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1