From ceae4a36d86933c2da23b7e83fa6ee55cc202a99 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Thu, 16 Oct 2014 15:14:36 +0200 Subject: fixed test cases for array index filter --- tests/filter/input_filter_request_array_index_blacklist.phpt | 5 ++++- tests/filter/input_filter_request_array_index_whitelist.phpt | 5 ++++- tests/filter/post_fileupload_array_index_blacklist.phpt | 5 ++++- tests/filter/post_fileupload_array_index_whitelist.phpt | 5 ++++- 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) --INI-- suhosin.log.syslog=0 suhosin.log.sapi=0 -suhosin.log.stdout=511 suhosin.log.script=0 +suhosin.log.file=255 +suhosin.log.file.time=0 +suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp +auto_append_file={PWD}/suhosintest.$$.log.tmp suhosin.request.array_index_blacklist="=ABC%{}\\$;" --SKIPIF-- 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) --INI-- suhosin.log.syslog=0 suhosin.log.sapi=0 -suhosin.log.stdout=255 suhosin.log.script=0 +suhosin.log.file=255 +suhosin.log.file.time=0 +suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp +auto_append_file={PWD}/suhosintest.$$.log.tmp suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz --SKIPIF-- 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) --INI-- suhosin.log.syslog=0 suhosin.log.sapi=0 -suhosin.log.stdout=255 suhosin.log.script=0 +suhosin.log.file=255 +suhosin.log.file.time=0 +suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp +auto_append_file={PWD}/suhosintest.$$.log.tmp file_uploads=1 suhosin.request.array_index_blacklist=ABC --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) --INI-- suhosin.log.syslog=0 suhosin.log.sapi=0 -suhosin.log.stdout=255 suhosin.log.script=0 +suhosin.log.file=255 +suhosin.log.file.time=0 +suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp +auto_append_file={PWD}/suhosintest.$$.log.tmp file_uploads=1 suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz --SKIPIF-- -- cgit v1.3