Urlencoded the message passed with the location header in sql.php3

This commit is contained in:
Loïc Chapeaux
2002-03-30 17:18:05 +00:00
parent f988b2f966
commit 4158b48e3b
2 changed files with 4 additions and 1 deletions

View File

@@ -364,7 +364,7 @@ else {
include('./' . $goto);
} // end if file_exist
else {
header('Location: ' . $cfgPmaAbsoluteUri . str_replace('&', '&', $goto) . '&message=' . $message);
header('Location: ' . $cfgPmaAbsoluteUri . str_replace('&', '&', $goto) . '&message=' . urlencode($message));
} // end else
exit();
} // end no rows returned