diff options
| author | Ondřej Surý <ondrej@sury.org> | 2012-03-20 10:21:07 +0100 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2012-03-21 08:44:59 +0100 |
| commit | d1fd5432e1576865dbeb7650b7c7e0fa0bd3a4e1 (patch) | |
| tree | d29b55e2c069317c5b12c669a5678448e6be9245 /tests/basic | |
| parent | 4a6d9b348febe7895a2748977898c09b6e40a7ce (diff) | |
| download | php-git-d1fd5432e1576865dbeb7650b7c7e0fa0bd3a4e1.tar.gz | |
Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831)
Diffstat (limited to 'tests/basic')
| -rw-r--r-- | tests/basic/magic_quotes_gpc.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/basic/magic_quotes_gpc.phpt b/tests/basic/magic_quotes_gpc.phpt new file mode 100644 index 0000000000..d1c880fd39 --- /dev/null +++ b/tests/basic/magic_quotes_gpc.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831) +--INI-- +magic_quotes_gpc=On +--FILE-- +<?php +var_dump(ini_get("magic_quotes_gpc")); +?> +--EXPECT-- +string(1) "1" |
