From: JKingsnorth Date: Wed, 30 Mar 2016 09:39:21 +0000 (+0100) Subject: CRM-18320: Fix URLs with ampersands in CiviMail X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=07bb7edd4874d0bd9c2029ff88aa74e5bec04d9d;p=civicrm-core.git CRM-18320: Fix URLs with ampersands in CiviMail --- diff --git a/extern/url.php b/extern/url.php index 0819f9cf17..4c89886e4e 100644 --- a/extern/url.php +++ b/extern/url.php @@ -54,6 +54,9 @@ if (strlen($query_string) > 0) { } } +// CRM-18320 - Fix encoded ampersands (see CRM_Utils_System::redirect) +$url = str_replace('&', '&', $url); + // CRM-17953 - The CMS is not bootstrapped so cannot use CRM_Utils_System::redirect header('Location: ' . $url); CRM_Utils_System::civiExit();