summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Fuhrmannek2014-10-16 15:14:36 +0200
committerBen Fuhrmannek2014-10-16 15:14:36 +0200
commitceae4a36d86933c2da23b7e83fa6ee55cc202a99 (patch)
tree76ffc1ab6d975b04188eb0216def73f51d8721f0
parentc4467269c3d5bf4cba72dadf846e229e4bc5c0c7 (diff)
fixed test cases for array index filter
-rw-r--r--tests/filter/input_filter_request_array_index_blacklist.phpt5
-rw-r--r--tests/filter/input_filter_request_array_index_whitelist.phpt5
-rw-r--r--tests/filter/post_fileupload_array_index_blacklist.phpt5
-rw-r--r--tests/filter/post_fileupload_array_index_whitelist.phpt5
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--
4suhosin.log.syslog=0 4suhosin.log.syslog=0
5suhosin.log.sapi=0 5suhosin.log.sapi=0
6suhosin.log.stdout=511
7suhosin.log.script=0 6suhosin.log.script=0
7suhosin.log.file=255
8suhosin.log.file.time=0
9suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp
10auto_append_file={PWD}/suhosintest.$$.log.tmp
8suhosin.request.array_index_blacklist="=ABC%{}\\$;" 11suhosin.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--
4suhosin.log.syslog=0 4suhosin.log.syslog=0
5suhosin.log.sapi=0 5suhosin.log.sapi=0
6suhosin.log.stdout=255
7suhosin.log.script=0 6suhosin.log.script=0
7suhosin.log.file=255
8suhosin.log.file.time=0
9suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp
10auto_append_file={PWD}/suhosintest.$$.log.tmp
8suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz 11suhosin.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--
4suhosin.log.syslog=0 4suhosin.log.syslog=0
5suhosin.log.sapi=0 5suhosin.log.sapi=0
6suhosin.log.stdout=255
7suhosin.log.script=0 6suhosin.log.script=0
7suhosin.log.file=255
8suhosin.log.file.time=0
9suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp
10auto_append_file={PWD}/suhosintest.$$.log.tmp
8file_uploads=1 11file_uploads=1
9suhosin.request.array_index_blacklist=ABC 12suhosin.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--
4suhosin.log.syslog=0 4suhosin.log.syslog=0
5suhosin.log.sapi=0 5suhosin.log.sapi=0
6suhosin.log.stdout=255
7suhosin.log.script=0 6suhosin.log.script=0
7suhosin.log.file=255
8suhosin.log.file.time=0
9suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp
10auto_append_file={PWD}/suhosintest.$$.log.tmp
8file_uploads=1 11file_uploads=1
9suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz 12suhosin.request.array_index_whitelist=abcdefghijklmnopqrstuvwxyz
10--SKIPIF-- 13--SKIPIF--