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