Fixed bug #10012: TYPO3 generates incorrect ETag
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 25 Dec 2008 08:12:29 +0000 (08:12 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 25 Dec 2008 08:12:29 +0000 (08:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4603 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index 983cf3a..9086b0c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2008-12-24  Francois Suter <francois@typo3.org>
+2008-12-25  Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Fixed bug #10012: TYPO3 generates incorrect ETag
+
+2008-12-24  Francois Suter  <francois@typo3.org>
 
        * Fixed bug #9948: Label rm.clearCache_pages was abusively removed from core lang file
 
index 8808c16..892dbbc 100755 (executable)
@@ -3328,7 +3328,7 @@ if (version == "n3") {
                        $headers = array(
                                'Last-Modified: '.gmdate('D, d M Y H:i:s T', $this->register['SYS_LASTCHANGED']),
                                'Expires: '.gmdate('D, d M Y H:i:s T', $this->cacheExpires),
-                               'ETag: '.md5($this->content),
+                               'ETag: "' . md5($this->content) . '"',
                                'Cache-Control: max-age='.($this->cacheExpires - $GLOBALS['EXEC_TIME']),                // no-cache
                                'Pragma: public',
                        );