From 4f27788072404a7bc2f59766617c3102af6102b3 Mon Sep 17 00:00:00 2001 From: Jeff Zaroyko Date: Tue, 26 Feb 2008 14:02:36 +1100 Subject: [PATCH] decode html entities when using redirect function --- include/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }