Urlencoded the message passed with the location header in sql.php3
This commit is contained in:
2
sql.php3
2
sql.php3
@@ -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
|
||||
|
Reference in New Issue
Block a user