1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 20:22:36 +02:00

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Re-fixed bug #66469
This commit is contained in:
Yasuo Ohgaki
2014-01-22 13:47:55 +09:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1365,9 +1365,7 @@ static void php_session_send_cookie(TSRMLS_D) /* {{{ */
smart_str_0(&ncookie);
/* 'replace' must be 0 here, else a previous Set-Cookie
header, probably sent with setcookie() will be replaced! */
sapi_add_header_ex(ncookie.c, ncookie.len, 0, 0 TSRMLS_CC);
sapi_add_header_ex(ncookie.c, ncookie.len, 0, 1 TSRMLS_CC);
}
/* }}} */

View File

@@ -43,3 +43,4 @@ echo "um, hi\n";
--EXPECTF--
write: goodbye cruel world
close: goodbye cruel world

View File

@@ -49,3 +49,4 @@ Stack trace:
#1 {main}
thrown in %s on line %d
close: goodbye cruel world