mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
Don't store files in hidden fields
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1250 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -41,9 +41,6 @@ function auth_error($exception = null) {
|
||||
$adminer->loginForm($username);
|
||||
echo "<p>\n";
|
||||
hidden_fields($_POST, array("server", "username", "password")); // expired session
|
||||
foreach ($_FILES as $key => $val) {
|
||||
echo '<input type="hidden" name="files[' . h($key) . ']" value="' . ($val["error"] ? $val["error"] : base64_encode(file_get_contents($val["tmp_name"]))) . '">';
|
||||
}
|
||||
echo "<input type='submit' value='" . lang('Login') . "'>\n</form>\n";
|
||||
page_footer("auth");
|
||||
}
|
||||
|
Reference in New Issue
Block a user