diff options
| author | Ben Fuhrmannek | 2021-11-11 13:15:52 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-11-11 13:15:52 +0100 |
| commit | 713cb08b58d4e5dd5e7e80b1f82e27cbe52d4381 (patch) | |
| tree | b1bd945693215ca349180d44ae929f7f59427f09 /src/tests/xxe/disable_xxe_simplexml.phpt | |
| parent | 9111fdf5e6332923a5faf9f8a7e6b428eb91795a (diff) | |
inverted logic. set xxe_protection.enable() instead of disable_xxe.disable()
Diffstat (limited to 'src/tests/xxe/disable_xxe_simplexml.phpt')
| -rw-r--r-- | src/tests/xxe/disable_xxe_simplexml.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/xxe/disable_xxe_simplexml.phpt b/src/tests/xxe/disable_xxe_simplexml.phpt index 1d3ef4c..9560156 100644 --- a/src/tests/xxe/disable_xxe_simplexml.phpt +++ b/src/tests/xxe/disable_xxe_simplexml.phpt | |||
| @@ -2,8 +2,9 @@ | |||
| 2 | Disable XXE | 2 | Disable XXE |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml") || getenv('TRAVIS')) print("skip"); ?> | 4 | <?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml") || getenv('TRAVIS')) print("skip"); ?> |
| 5 | <?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> | ||
| 5 | --INI-- | 6 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/disable_xxe.ini | 7 | sp.configuration_file={PWD}/config/disable_xxe_disable.ini |
| 7 | --EXTENSIONS-- | 8 | --EXTENSIONS-- |
| 8 | simplexml | 9 | simplexml |
| 9 | --XFAIL-- | 10 | --XFAIL-- |
