Update the APIv3 documentation links.
[civicrm-core.git] / extern / url.php
index bb06f1eb2b7419fff6f38a39bcd8b5d6b9295996..4c89886e4e61f4f8034c46e8800f0c272533b603 100644 (file)
@@ -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();