Issue Bug Closed

#71749Correct invalid last-modified header in HTTP response

Michael Schams 11/21/15, 02:37 updated 10/02/18, 11:26

Description

System extension EXT:form sends an invalid date/time value in HTTP header line "Last-Modified:" when responding to AJAX calls with JSON data (saveAction and loadAction).
A space is missing between time and “GMT”:

Last-Modified: Sat, 21 Nov 2015 01:14:42GMT

It should be:

Last-Modified: Sat, 21 Nov 2015 01:14:42 GMT

According to RFC 2616, Section 14.29 the correct syntax is: "Last-Modified" ":" HTTP-date
where timestamp and timezone abbreviation are separated by a space :-)

Reviews 1