decode html entities when using redirect function

This commit is contained in:
Jeff Zaroyko
2008-02-26 14:02:36 +11:00
committed by Chris Morgan
parent bc07ac0e12
commit 4f27788072

View File

@@ -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;
}