diff options
| author | Ben Fuhrmannek | 2014-10-16 15:14:36 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-10-16 15:14:36 +0200 |
| commit | ceae4a36d86933c2da23b7e83fa6ee55cc202a99 (patch) | |
| tree | 76ffc1ab6d975b04188eb0216def73f51d8721f0 /tests/filter | |
| parent | c4467269c3d5bf4cba72dadf846e229e4bc5c0c7 (diff) | |
fixed test cases for array index filter
Diffstat (limited to 'tests/filter')
4 files changed, 16 insertions, 4 deletions
diff --git a/tests/filter/input_filter_request_array_index_blacklist.phpt b/tests/filter/input_filter_request_array_index_blacklist.phpt index 01d551f..ead85c5 100644 --- a/tests/filter/input_filter_request_array_index_blacklist.phpt +++ b/tests/filter/input_filter_request_array_index_blacklist.phpt | |||
| @@ -3,8 +3,11 @@ suhosin input filter (suhosin.request.array_index_blacklist) | |||
| 3 | --INI-- | 3 | --INI-- |
| 4 | suhosin.log.syslog=0 | 4 | suhosin.log.syslog=0 |
| 5 | suhosin.log.sapi=0 | 5 | suhosin.log.sapi=0 |
| 6 | suhosin.log.stdout=511 | ||
| 7 | suhosin.log.script=0 | 6 | suhosin.log.script=0 |
| 7 | suhosin.log.file=255 | ||
| 8 | suhosin.log.file.time=0 | ||
| 9 | suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp | ||
| 10 | auto_append_file={PWD}/suhosintest.$$.log.tmp | ||
| 8 | suhosin.request.array_index_blacklist="=ABC%{}\\$;" | 11 | suhosin.request.array_index_blacklist="=ABC%{}\\$;" |
| 9 | --SKIPIF-- | 12 | --SKIPIF-- |
| 10 | <?php include('skipif.inc'); ?> | 13 | <?php include('skipif.inc'); ?> |
diff --git a/tests/filter/input_filter_request_array_index_whitelist.phpt b/tests/filter/input_filter_request_array_index_whitelist.phpt index 8e63a36..a091574 100644 --- a/tests/filter/input_filter_request_array_index_whitelist.phpt +++ b/tests/filter/input_filter_request_array_index_whitelist.phpt | |||
| @@ -3,8 +3,11 @@ suhosin input filter (suhosin.request.array_index_whitelist) | |||
| 3 | --INI-- | 3 | --INI-- |
| 4 | suhosin.log.syslog=0 | 4 | suhosin.log.syslog=0 |
| 5 | suhosin.log.sapi=0 | 5 | suhosin.log.sapi=0 |
| 6 | suhosin.log.stdout=255 | ||
| 7 | suhosin.log.script=0 | 6 | suhosin.log.script=0 |
| 7 | suhosin.log.file=255 | ||
| 8 | suhosin.log.file.time=0 | ||
| 9 | suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp | ||
| 10 | auto_append_file={PWD}/suhosintest.$$.log.tmp | ||
| 8 | suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz | 11 | suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz |
| 9 | --SKIPIF-- | 12 | --SKIPIF-- |
| 10 | <?php include('skipif.inc'); ?> | 13 | <?php include('skipif.inc'); ?> |
diff --git a/tests/filter/post_fileupload_array_index_blacklist.phpt b/tests/filter/post_fileupload_array_index_blacklist.phpt index f0e003b..7e19014 100644 --- a/tests/filter/post_fileupload_array_index_blacklist.phpt +++ b/tests/filter/post_fileupload_array_index_blacklist.phpt | |||
| @@ -3,8 +3,11 @@ suhosin file upload filter (array index whitelist) | |||
| 3 | --INI-- | 3 | --INI-- |
| 4 | suhosin.log.syslog=0 | 4 | suhosin.log.syslog=0 |
| 5 | suhosin.log.sapi=0 | 5 | suhosin.log.sapi=0 |
| 6 | suhosin.log.stdout=255 | ||
| 7 | suhosin.log.script=0 | 6 | suhosin.log.script=0 |
| 7 | suhosin.log.file=255 | ||
| 8 | suhosin.log.file.time=0 | ||
| 9 | suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp | ||
| 10 | auto_append_file={PWD}/suhosintest.$$.log.tmp | ||
| 8 | file_uploads=1 | 11 | file_uploads=1 |
| 9 | suhosin.request.array_index_blacklist=ABC | 12 | suhosin.request.array_index_blacklist=ABC |
| 10 | --SKIPIF-- | 13 | --SKIPIF-- |
diff --git a/tests/filter/post_fileupload_array_index_whitelist.phpt b/tests/filter/post_fileupload_array_index_whitelist.phpt index f2fe8c8..b910c44 100644 --- a/tests/filter/post_fileupload_array_index_whitelist.phpt +++ b/tests/filter/post_fileupload_array_index_whitelist.phpt | |||
| @@ -3,8 +3,11 @@ suhosin file upload filter (array index whitelist) | |||
| 3 | --INI-- | 3 | --INI-- |
| 4 | suhosin.log.syslog=0 | 4 | suhosin.log.syslog=0 |
| 5 | suhosin.log.sapi=0 | 5 | suhosin.log.sapi=0 |
| 6 | suhosin.log.stdout=255 | ||
| 7 | suhosin.log.script=0 | 6 | suhosin.log.script=0 |
| 7 | suhosin.log.file=255 | ||
| 8 | suhosin.log.file.time=0 | ||
| 9 | suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp | ||
| 10 | auto_append_file={PWD}/suhosintest.$$.log.tmp | ||
| 8 | file_uploads=1 | 11 | file_uploads=1 |
| 9 | suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz | 12 | suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz |
| 10 | --SKIPIF-- | 13 | --SKIPIF-- |
