Test: /ext/session/tests/bug50308.phpt - Version 7.2.0-dev        

Bug #50308 session id not appended properly for empty anchor tags
Submitted: 2009-11-27 01:57:18 Modified: 2013-06-27 22:38:26
From: Dormilich Assigned:
Status: Closed Package: Session related
PHP Version: 5.4/5.5 OS: Linux

There are 6 different diffs reported by users for this test.

Count Diff
38 (88%)
001+ Fatal error: Uncaught Exception: Could not gather sufficient random data in %s/bug50308.php:2
002+ Stack trace:
003+ #0 %s/bug50308.php(2): session_start()
004+ #1 {main}
005+
006+ Next Exception: Could not gather sufficient random data in %s/bug50308.php:2
007+ Stack trace:
008+ #0 %s/bug50308.php(2): session_start()
009+ #1 {main}
010+
011+ Next Exception: Could not gather sufficient random data in %s/bug50308.php:2
001- <a href="?PHPSESSID=%s"/>
002- <a href="?PHPSESSID=%s" />
003- <a href="foo?PHPSESSID=%s"/>
004- <a href="foo?PHPSESSID=%s" />
005- <a href=foo/?PHPSESSID=%s>
006- <a href="/?PHPSESSID=%s">
007- <a href=/?PHPSESSID=%s>
008- <a href=?foo=bar/&PHPSESSID=%s>
009- <a href="?foo=bar&PHPSESSID=%s"/>
010- <a href=./?PHPSESSID=%s>
011- <a href="./?PHPSESSID=%s">
012+ Stack trace:
013+ #0 %s/bug50308.php(2): session_start()
014+ #1 {main}
015+
016+ Next Exception: Could not gather sufficient random data in %s/bug50308.php:2
017+ Stack trace:
018+ #0 %s/bug50308.php(2): session_start()
019+ #1 {main}
020+
021+ Next Error: Failed to create session ID: files (path: ) in %s/bug50308.php:2
022+ Stack trace:
023+ #0 %s/bug50308.php(2): session_start()
024+ #1 {main}
025+ thrown in %s/bug50308.php on line 2
1 (2%)
001+ <a href="/?PHPSESSID=95f0b82cdde8297e3c2bc106704ab2b8"/>
002+ <a href="/?PHPSESSID=95f0b82cdde8297e3c2bc106704ab2b8" />
001- <a href="?PHPSESSID=%s"/>
002- <a href="?PHPSESSID=%s" />
1 (2%)
001+ <a href="/?PHPSESSID=7a1472e33f63095100f0526269479282"/>
002+ <a href="/?PHPSESSID=7a1472e33f63095100f0526269479282" />
001- <a href="?PHPSESSID=%s"/>
002- <a href="?PHPSESSID=%s" />
1 (2%)
001+ <a href="/?PHPSESSID=6cdf7fd1e06418b4205f3d3716ef709c"/>
002+ <a href="/?PHPSESSID=6cdf7fd1e06418b4205f3d3716ef709c" />
001- <a href="?PHPSESSID=%s"/>
002- <a href="?PHPSESSID=%s" />
1 (2%)
001+ <a href="/?PHPSESSID=4f0ea2d8dce72ffaf7a8eff6fbc37c2c"/>
002+ <a href="/?PHPSESSID=4f0ea2d8dce72ffaf7a8eff6fbc37c2c" />
001- <a href="?PHPSESSID=%s"/>
002- <a href="?PHPSESSID=%s" />
1 (2%)
001+ <a href="/?PHPSESSID=3823a1b64be0e4e9c7b01b2d20c8add0"/>
002+ <a href="/?PHPSESSID=3823a1b64be0e4e9c7b01b2d20c8add0" />
001- <a href="?PHPSESSID=%s"/>
002- <a href="?PHPSESSID=%s" />