mirror of
https://github.com/php/php-src.git
synced 2026-03-30 20:22:36 +02:00
@@ -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);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
@@ -43,3 +43,4 @@ echo "um, hi\n";
|
||||
--EXPECTF--
|
||||
write: goodbye cruel world
|
||||
close: goodbye cruel world
|
||||
|
||||
|
||||
@@ -49,3 +49,4 @@ Stack trace:
|
||||
#1 {main}
|
||||
thrown in %s on line %d
|
||||
close: goodbye cruel world
|
||||
|
||||
|
||||
Reference in New Issue
Block a user