Revert "[BUGFIX] Send no-cache headers in t3lib_userauth"
authorThorsten Kahler <thorsten.kahler@dkd.de>
Thu, 4 Aug 2011 09:25:23 +0000 (11:25 +0200)
committerThorsten Kahler <thorsten.kahler@dkd.de>
Thu, 4 Aug 2011 09:27:50 +0000 (11:27 +0200)
This reverts commit f08aa2f376c826f176c06a73d8b5ffc72a076501

Sorry, hit the wrong button :(

Change-Id: I47a362b47f6aafee06dd8181f27997baa64aa383
Reviewed-on: http://review.typo3.org/4095
Reviewed-by: Thorsten Kahler
Tested-by: Thorsten Kahler
t3lib/class.t3lib_userauth.php

index ef8c54b..15a9e37 100644 (file)
@@ -246,25 +246,8 @@ abstract class t3lib_userAuth {
                if ($this->sendNoCacheHeaders) {
                        header('Expires: 0');
                        header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
-
-                       $cacheControlHeader = 'no-cache, must-revalidate';
-                       $pragmaHeader = 'no-cache';
-
-                               // Prevent error message in IE when using a https connection
-                               // see http://forge.typo3.org/issues/24125
-                       $clientInfo = t3lib_div::clientInfo();
-                       if (($clientInfo['BROWSER'] === 'msie') && t3lib_div::getIndpEnv('TYPO3_SSL')) {
-
-                                               // Some IEs can not handle no-cache
-                                               // see http://support.microsoft.com/kb/323308/en-us
-                                       $cacheControlHeader = 'must-revalidate';
-
-                                               // IE needs "Pragma: private" if SSL connection
-                                       $pragmaHeader = 'private';
-                       }
-
-                       header('Cache-Control: ' . $cacheControlHeader);
-                       header('Pragma: ' . $pragmaHeader);
+                       header('Cache-Control: no-cache, must-revalidate');
+                       header('Pragma: no-cache');
                }
 
                        // Set $this->gc_time if not explicitely specified