CRM-17953 - Fix redirects from extern
authorColeman Watts <coleman@civicrm.org>
Fri, 12 Feb 2016 21:02:20 +0000 (16:02 -0500)
committerColeman Watts <coleman@civicrm.org>
Fri, 12 Feb 2016 21:04:30 +0000 (16:04 -0500)
extern/url.php

index bb06f1eb2b7419fff6f38a39bcd8b5d6b9295996..0819f9cf173855e6d587b5ec64500c2d4c4298eb 100644 (file)
@@ -54,4 +54,6 @@ if (strlen($query_string) > 0) {
   }
 }
 
-CRM_Utils_System::redirect($url);
+// CRM-17953 - The CMS is not bootstrapped so cannot use CRM_Utils_System::redirect
+header('Location: ' . $url);
+CRM_Utils_System::civiExit();