Commit 07bb7edd authored by JKingsnorth's avatar JKingsnorth

CRM-18320: Fix URLs with ampersands in CiviMail

parent fce108fd
......@@ -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();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment