From: Thomas Mudrunka Date: Fri, 19 Aug 2011 23:27:21 +0000 (+0200) Subject: Pridan meta redirect pro presmerovani v pripade, ze hlavicky uz odesly... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=7efdf72a861430b2e437e31278c6eacfd4d622a0;p=mirrors%2FSokoMan.git Pridan meta redirect pro presmerovani v pripade, ze hlavicky uz odesly... --- 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') {