diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2016-04-07 10:25:35 +0900 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2016-04-07 10:26:05 +0900 |
commit | 6467a4eb367fd1174fbed79f014772321f68e8bc (patch) | |
tree | be2f5908cc13ad8f21d46249b9d7ac17fd60ffd9 /ext/session/tests/bug71974.phpt | |
parent | b31240f995a742b363074e0079b1aef4e577a27e (diff) | |
download | php-git-6467a4eb367fd1174fbed79f014772321f68e8bc.tar.gz |
Fixed Bug #71974 Trans sid will always be send, even if cookies are available
Diffstat (limited to 'ext/session/tests/bug71974.phpt')
-rw-r--r-- | ext/session/tests/bug71974.phpt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/session/tests/bug71974.phpt b/ext/session/tests/bug71974.phpt new file mode 100644 index 0000000000..b692bce2c5 --- /dev/null +++ b/ext/session/tests/bug71974.phpt @@ -0,0 +1,23 @@ +--TEST-- +Bug #71974 Trans sid will always be send, even if cookies are available +--SKIPIF-- +<?php include('skipif.inc'); ?> +--INI-- +session.save_handler=files +session.auto_start=0 +session.use_cookies=1 +session.use_only_cookies=0 +session.use_trans_sid=1 +session.use_strict_mode=0 +--COOKIE-- +PHPSESSID=1234567890123456789012345678901234567890 +--FILE-- +<?php +ob_start(); +session_start() +?> +<a href="some.php">abc</a> +--EXPECTF-- +<a href="some.php">abc</a> + + |