patch #2020630 [export] Safari and timedate
This commit is contained in:
@@ -23,6 +23,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
- bug [history] Do not save too big queries in history
|
||||
- [security] Do not show version info on login screen
|
||||
- bug #2018595 [import] Potential data loss on import resubmit
|
||||
- patch #2020630 [export] Safari and timedate, thanks to Sebastian Mendel,
|
||||
Isaac Bennetch and Jürgen Wind
|
||||
|
||||
2.11.7.1 (2008-07-15)
|
||||
- bug [security] XSRF/CSRF by manipulating the db,
|
||||
|
@@ -363,6 +363,11 @@ if (!$save_on_server) {
|
||||
header('Pragma: public');
|
||||
} else {
|
||||
header('Pragma: no-cache');
|
||||
// test case: exporting a database into a .gz file with Safari
|
||||
// would produce files not having the current time
|
||||
if ('SAFARI' == PMA_USR_BROWSER_AGENT) {
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// HTML
|
||||
|
Reference in New Issue
Block a user