Monday 28 June 2004 2:43:45 am
Hello,
I have just noticed that ezPublish sends incorrectly formatted Last-Modified HTTP headers. There is a space (blank) missing before the "GMT". For example, ezPublish returns "Last-Modified: Mon, 28 Jun 2004 09:14:05GMT"
instead of "Last-Modified: Mon, 28 Jun 2004 09:14:05 GMT"
. This violates RFC 2616 (section 3.3), and at least Jakarta HttpClient chokes on that.
The solution is to simply correct the responsible header() command in ezPublish's index.php (line 357) from header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . 'GMT' );
to header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
Best regards,
Christian Kohlschütter (ck [AT] rrzn [DOT] uni-hannover [DOT] de)
|