From 7efdf72a861430b2e437e31278c6eacfd4d622a0 Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Sat, 20 Aug 2011 01:27:21 +0200 Subject: [PATCH] Pridan meta redirect pro presmerovani v pripade, ze hlavicky uz odesly... --- index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index c2ffb64..93c32ad 100755 --- a/index.php +++ b/index.php @@ -624,7 +624,11 @@ class Sklad_UI { $location = $this->html->internal_url($location).'?message='.urlencode($message); header('Location: '.$location); if($error) trigger_error($message); - die("Location: $location"); + $location=htmlspecialchars($location); + die( + "". + "Location: $location" + ); } function safe_include($dir,$name,$vars=array(),$ext='.inc.php') { -- 2.30.2