Browse Source

- Fixed bug #26548 (Malformed HTTP dates in headers).

PEAR_1_4DEV
Derick Rethans 23 years ago
parent
commit
71f9227cc5
  1. 1
      NEWS
  2. 2
      ext/session/session.c

1
NEWS

@ -38,6 +38,7 @@ PHP NEWS
(Moriyoshi)
- Fixed bug #26156 (REPLACE_ZVAL_VALUE works on uninit stack-based zvals).
(Moriyoshi)
- Fixed bug #26548 (Malformed HTTP dates in headers). (Derick)
30 Oct 2003, PHP 5 Beta 2
- Lots and lots of changes in the Zend Engine 2 since beta 1:

2
ext/session/session.c

@ -817,7 +817,7 @@ static void strcpy_gmt(char *ubuf, time_t *when)
php_gmtime_r(when, &tm);
n = sprintf(buf, "%s, %d %s %d %02d:%02d:%02d GMT", /* SAFE */
n = sprintf(buf, "%s, %02d %s %d %02d:%02d:%02d GMT", /* SAFE */
week_days[tm.tm_wday], tm.tm_mday,
month_names[tm.tm_mon], tm.tm_year + 1900,
tm.tm_hour, tm.tm_min,

Loading…
Cancel
Save