php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77794 Incorrect Date header format in built-in server
Submitted: 2019-03-25 19:43 UTC Modified: 2019-03-25 19:44 UTC
From: kelunik@php.net Assigned: kelunik (profile)
Status: Closed Package: Built-in web server
PHP Version: 7.2.16 OS:
Private report: No CVE-ID: None
 [2019-03-25 19:43 UTC] kelunik@php.net
Description:
------------
The server currently outputs local date formatted as 'r' instead of a GMT date in the correct format.

Test script:
---------------
https://gist.github.com/theseer/dff2d65ac80df66afc0a4cca68f4030c

Expected result:
----------------
Date: Sun, 24 Mar 2019 16:18:54 GMT

Actual result:
--------------
Date: Sun, 24 Mar 2019 16:18:54 +0000

Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-03-25 19:44 UTC] kelunik@php.net
-Assigned To: +Assigned To: kelunik
 [2019-03-25 19:44 UTC] kelunik@php.net
The following pull request has been associated:

Patch Name: Fix CLI server date format
On GitHub:  https://github.com/php/php-src/pull/3982
Patch:      https://github.com/php/php-src/pull/3982.patch
 [2019-03-25 21:03 UTC] petk@php.net
Automatic comment on behalf of me@kelunik.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7f9872387e38a05b11ce233b4d142325d742c487
Log: Fix #77794: Incorrect Date header format in built-in server
 [2019-03-25 21:03 UTC] petk@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 23:01:26 2024 UTC