projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f70a579
)
CRM-17953 - Fix redirects from extern
author
Coleman Watts
<coleman@civicrm.org>
Fri, 12 Feb 2016 21:02:20 +0000
(16:02 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Fri, 12 Feb 2016 21:04:30 +0000
(16:04 -0500)
extern/url.php
patch
|
blob
|
blame
|
history
diff --git
a/extern/url.php
b/extern/url.php
index bb06f1eb2b7419fff6f38a39bcd8b5d6b9295996..0819f9cf173855e6d587b5ec64500c2d4c4298eb 100644
(file)
--- a/
extern/url.php
+++ b/
extern/url.php
@@
-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();