Skip to content

Commit

Permalink
Merge pull request #8044 from JKingsnorth/CRM-18320
Browse files Browse the repository at this point in the history
CRM-18320: Fix URLs with ampersands in CiviMail
  • Loading branch information
monishdeb committed May 4, 2016
2 parents 5af25e3 + 07bb7ed commit 3732b5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extern/url.php
Expand Up @@ -54,6 +54,9 @@
}
}

// 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();

0 comments on commit 3732b5b

Please sign in to comment.