diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-12-12 14:22:32 +0100 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-12-12 14:22:32 +0100 |
| commit | 4c5a178df86f338325cf801ae36beca741238739 (patch) | |
| tree | 16bfde3acd0b70d83b617ee6edeb9a16fff4583f /tests/basic | |
| parent | beee92a887e8036a84dcb34f00bdca550eeee420 (diff) | |
| parent | 79376ab209f61be03bbf8c1b6177c18261767da8 (diff) | |
| download | php-git-4c5a178df86f338325cf801ae36beca741238739.tar.gz | |
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78929: plus signs in cookie values are converted to spaces
Diffstat (limited to 'tests/basic')
| -rw-r--r-- | tests/basic/bug78929.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/basic/bug78929.phpt b/tests/basic/bug78929.phpt new file mode 100644 index 0000000000..60b71d1f8f --- /dev/null +++ b/tests/basic/bug78929.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #78929 (plus signs in cookie values are converted to spaces) +--INI-- +max_input_vars=1000 +filter.default=unsafe_raw +--COOKIE-- +RFC6265=#$%&'()*+-./0123456789<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~! +--FILE-- +<?php +var_dump($_COOKIE); +?> +--EXPECT-- +array(1) { + ["RFC6265"]=> + string(89) "#$%&'()*+-./0123456789<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~!" +} |
