patch #2020630 [export] Safari and timedate

This commit is contained in:
Marc Delisle
2008-07-18 17:42:52 +00:00
parent 784ee3063c
commit 414189aebe
2 changed files with 7 additions and 0 deletions

View File

@@ -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,

View File

@@ -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