MyBB Community Forums
[F] missing space in Last-Modified header - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.1 (https://community.mybb.com/forum-93.html)
+------ Thread: [F] missing space in Last-Modified header (/thread-36660.html)



[F] missing space in Last-Modified header - WDZ - 2008-08-26

In this code, there should be a space before GMT, or else the timestamp won't comply with RFC 2616.

header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");

I don't know if any browsers care about the missing space, but you might as well fix it anyway, right? Toungue

Bug appears in the following files:

/xmlhttp.php
/admin/modules/config/mycode.php
/inc/functions.php


[F] missing space in Last-Modified header - Ryan Gordon - 2008-08-26

Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.