GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b895e8e
)
Pridan meta redirect pro presmerovani v pripade, ze hlavicky uz odesly...
author
Thomas Mudrunka
<tomas@mudrunka.cz>
Fri, 19 Aug 2011 23:27:21 +0000
(
01:27
+0200)
committer
Thomas Mudrunka
<tomas@mudrunka.cz>
Fri, 19 Aug 2011 23:27:21 +0000
(
01:27
+0200)
index.php
patch
|
blob
|
blame
|
history
diff --git
a/index.php
b/index.php
index c2ffb64d242e70f108db455368826f2657745168..93c32ad5c66573742be5913efc541e84cb55cbd8 100755
(executable)
--- 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: <a href='$location'>$location</a>");
+ $location=htmlspecialchars($location);
+ die(
+ "<meta http-equiv='refresh' content='0; url=$location'>".
+ "Location: <a href='$location'>$location</a>"
+ );
}
function safe_include($dir,$name,$vars=array(),$ext='.inc.php') {
This page took
0.128511 seconds
and
4
git commands to generate.