Bug #77794 [Asn->Csd]: Incorrect Date header format in built-in server

From: Date: Mon, 25 Mar 2019 21:03:46 +0000
Subject: Bug #77794 [Asn->Csd]: Incorrect Date header format in built-in server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220178@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77794&edit=1 ID: 77794 Updated by: petk@php.net Reported by: kelunik@php.net Summary: Incorrect Date header format in built-in server -Status: Assigned +Status: Closed Type: Bug Package: Built-in web server PHP Version: 7.2.16 Assigned To: kelunik Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2019-03-25 19:44:37] 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 19:43:49] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77794&edit=1

« previous php.bugs (#220178) next »