summaryrefslogtreecommitdiff
path: root/ext/session/tests/018.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/tests/018.phpt')
-rw-r--r--ext/session/tests/018.phpt26
1 files changed, 26 insertions, 0 deletions
diff --git a/ext/session/tests/018.phpt b/ext/session/tests/018.phpt
new file mode 100644
index 0000000..def1f41
--- /dev/null
+++ b/ext/session/tests/018.phpt
@@ -0,0 +1,26 @@
+--TEST--
+rewriter correctly handles attribute names which contain dashes
+--SKIPIF--
+<?php include('skipif.inc'); ?>
+--INI--
+session.use_cookies=0
+session.use_only_cookies=0
+session.cache_limiter=
+session.use_trans_sid=1
+session.name=PHPSESSID
+session.serialize_handler=php
+session.save_handler=files
+--FILE--
+<?php
+
+error_reporting(E_ALL);
+
+session_id("abtest");
+session_start();
+?>
+<form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php>
+<?php
+session_destroy();
+?>
+--EXPECT--
+<form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="abtest" />