svn: /php/php-src/branches/ PHP_5_2/ext/session/tests/bug51338.phpt PHP_5_3/ext/session/tests/bug51338.phpt
| From: | Ilia Alshanetsky | Date: | Tue, 23 Mar 2010 11:51:38 +0000 |
| Subject: | svn: /php/php-src/branches/ PHP_5_2/ext/session/tests/bug51338.phpt PHP_5_3/ext/session/tests/bug51338.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62096@lists.php.net to get a copy of this message | ||
iliaa Tue, 23 Mar 2010 11:51:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=296666
Log:
Added test for bug #51338
Bug: http://bugs.php.net/51338 (Closed) URL-Rewriter should
not get enabled if use_only_cookies is set to 1
Changed paths:
A php/php-src/branches/PHP_5_2/ext/session/tests/bug51338.phpt
A php/php-src/branches/PHP_5_3/ext/session/tests/bug51338.phpt
Added: php/php-src/branches/PHP_5_2/ext/session/tests/bug51338.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/session/tests/bug51338.phpt (rev 0)
+++ php/php-src/branches/PHP_5_2/ext/session/tests/bug51338.phpt 2010-03-23 11:51:38 UTC (rev
296666)
@@ -0,0 +1,15 @@
+--TEST--
+Bug #51338 (URL-Rewriter should not get enabled if use_only_cookies is set to 1)
+--SKIPIF--
+<?php include('skipif.inc'); ?>
+--INI--
+session.use_only_cookies=1
+session.use_trans_sid=1
+--FILE--
+<?php
+session_start();
+print_r(ob_list_handlers());
+--EXPECT--
+Array
+(
+)
Added: php/php-src/branches/PHP_5_3/ext/session/tests/bug51338.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/session/tests/bug51338.phpt (rev 0)
+++ php/php-src/branches/PHP_5_3/ext/session/tests/bug51338.phpt 2010-03-23 11:51:38 UTC (rev
296666)
@@ -0,0 +1,15 @@
+--TEST--
+Bug #51338 (URL-Rewriter should not get enabled if use_only_cookies is set to 1)
+--SKIPIF--
+<?php include('skipif.inc'); ?>
+--INI--
+session.use_only_cookies=1
+session.use_trans_sid=1
+--FILE--
+<?php
+session_start();
+print_r(ob_list_handlers());
+--EXPECT--
+Array
+(
+)