X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=extern%2Furl.php;h=4c89886e4e61f4f8034c46e8800f0c272533b603;hb=05220333d36991c646a1af48002a9af8bc8f348a;hp=bb06f1eb2b7419fff6f38a39bcd8b5d6b9295996;hpb=b7ff0a0a5544c5a5d510c685c8fdbdaecad7a5d0;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();