Jeff Zaroyko : decode html entities when using redirect function
Module: appdb Branch: master Commit: 4f27788072404a7bc2f59766617c3102af6102b3 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=4f27788072404a7bc2f597666... Author: Jeff Zaroyko <jeffzaroyko(a)gmail.com> Date: Tue Feb 26 14:02:36 2008 +1100 decode html entities when using redirect function --- include/util.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/util.php b/include/util.php index 741435b..ba13386 100644 --- a/include/util.php +++ b/include/util.php @@ -20,7 +20,7 @@ function util_show_error_page_and_exit($text = null, $message = null) */ function util_redirect_and_exit($url) { - header("Location: ".$url); + header("Location: ".html_entity_decode($url)); exit; }
participants (1)
-
Chris Morgan