X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=extern%2Furl.php;h=4c89886e4e61f4f8034c46e8800f0c272533b603;hb=7432a41c4cccb22ab035aea2c5ed4780617f3676;hp=bb06f1eb2b7419fff6f38a39bcd8b5d6b9295996;hpb=7d86179d7d8e91160bbb5e6643fa265198a99a2d;p=civicrm-core.git diff --git a/extern/url.php b/extern/url.php index bb06f1eb2b..4c89886e4e 100644 --- a/extern/url.php +++ b/extern/url.php @@ -54,4 +54,9 @@ if (strlen($query_string) > 0) { } } -CRM_Utils_System::redirect($url); +// 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();