according to rfc 2816, the location http header requires an absolute URI

This commit is contained in:
Loïc Chapeaux
2001-08-20 19:08:29 +00:00
parent 0ec91a1692
commit c3d62b3988
9 changed files with 37 additions and 13 deletions

View File

@@ -140,7 +140,7 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) {
$message = $strNoModification;
include('./' . ereg_replace('\.\.*', '.', $goto));
} else {
header('Location: ' . $goto);
header('Location: ' . $cfgPmaAbsoluteUri . $goto);
}
exit();
}
@@ -249,7 +249,7 @@ if (!$result) {
$message = $strModifications;
include('./' . ereg_replace('\.\.*', '.', $goto));
} else {
header('Location: ' . $goto);
header('Location: ' . $cfgPmaAbsoluteUri . $goto);
}
exit();
} // end if