projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
Possible null pointer dereference in php_http_url_mod() fixed.
[m6w6/ext-http]
/
tests
/
params015.phpt
1
--TEST--
2
header params rfc5987 regression
3
--SKIPIF--
4
<?php
5
include "skipif.inc";
6
?>
7
--FILE--
8
<?php
9
echo "Test\n";
10
$p = new http\Params(array("attachment"=>array("filename"=>"foo.bar")));
11
var_dump($p->params);
12
var_dump((string)$p);
13
?>
14
===DONE===
15
--EXPECT--
16
Test
17
array(1) {
18
["attachment"]=>
19
array(1) {
20
["filename"]=>
21
string(7) "foo.bar"
22
}
23
}
24
string(27) "attachment;filename=foo.bar"
25
===DONE===