From 720190413f66caa347cc7f386ca7abd43273e4ca Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Tue, 25 Nov 2014 15:21:33 +0100 Subject: corrected ugly grammar mistake "an URL" -> "a URL" --- tests/include/include_constant.phpt | 2 +- tests/include/include_once_constant.phpt | 2 +- tests/include/include_once_tmpvar.phpt | 2 +- tests/include/include_once_var.phpt | 2 +- tests/include/include_tmpvar.phpt | 2 +- tests/include/include_var.phpt | 2 +- tests/include/require_constant.phpt | 2 +- tests/include/require_once_constant.phpt | 2 +- tests/include/require_once_tmpvar.phpt | 2 +- tests/include/require_once_var.phpt | 2 +- tests/include/require_tmpvar.phpt | 2 +- tests/include/require_var.phpt | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'tests') diff --git a/tests/include/include_constant.phpt b/tests/include/include_constant.phpt index 180aa69..9fdb5ac 100644 --- a/tests/include/include_constant.phpt +++ b/tests/include/include_constant.phpt @@ -14,4 +14,4 @@ suhosin.executor.include.blacklist= include "http://127.0.0.1/"; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) +ALERT - Include filename ('http://127.0.0.1/') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) diff --git a/tests/include/include_once_constant.phpt b/tests/include/include_once_constant.phpt index 3faac33..66823cd 100644 --- a/tests/include/include_once_constant.phpt +++ b/tests/include/include_once_constant.phpt @@ -14,4 +14,4 @@ suhosin.executor.include.blacklist= include_once "http://127.0.0.1/"; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) +ALERT - Include filename ('http://127.0.0.1/') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) diff --git a/tests/include/include_once_tmpvar.phpt b/tests/include/include_once_tmpvar.phpt index 1f94c5a..4206893 100644 --- a/tests/include/include_once_tmpvar.phpt +++ b/tests/include/include_once_tmpvar.phpt @@ -16,4 +16,4 @@ suhosin.executor.include.blacklist= include_once $var.$app; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/?') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 4) +ALERT - Include filename ('http://127.0.0.1/?') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 4) diff --git a/tests/include/include_once_var.phpt b/tests/include/include_once_var.phpt index bf38377..3ba3ff7 100644 --- a/tests/include/include_once_var.phpt +++ b/tests/include/include_once_var.phpt @@ -15,4 +15,4 @@ suhosin.executor.include.blacklist= include_once $var; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 3) +ALERT - Include filename ('http://127.0.0.1/') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 3) diff --git a/tests/include/include_tmpvar.phpt b/tests/include/include_tmpvar.phpt index 8ad26d7..31d2f0f 100644 --- a/tests/include/include_tmpvar.phpt +++ b/tests/include/include_tmpvar.phpt @@ -16,4 +16,4 @@ suhosin.executor.include.blacklist= include $var.$app; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/?') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 4) +ALERT - Include filename ('http://127.0.0.1/?') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 4) diff --git a/tests/include/include_var.phpt b/tests/include/include_var.phpt index 7431240..598c093 100644 --- a/tests/include/include_var.phpt +++ b/tests/include/include_var.phpt @@ -15,4 +15,4 @@ suhosin.executor.include.blacklist= include $var; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 3) +ALERT - Include filename ('http://127.0.0.1/') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 3) diff --git a/tests/include/require_constant.phpt b/tests/include/require_constant.phpt index 6ee79fb..358d69d 100644 --- a/tests/include/require_constant.phpt +++ b/tests/include/require_constant.phpt @@ -14,4 +14,4 @@ suhosin.executor.include.blacklist= require "http://127.0.0.1/"; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) +ALERT - Include filename ('http://127.0.0.1/') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) diff --git a/tests/include/require_once_constant.phpt b/tests/include/require_once_constant.phpt index 43c69c8..699720a 100644 --- a/tests/include/require_once_constant.phpt +++ b/tests/include/require_once_constant.phpt @@ -14,4 +14,4 @@ suhosin.executor.include.blacklist= require_once "http://127.0.0.1/"; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) +ALERT - Include filename ('http://127.0.0.1/') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) diff --git a/tests/include/require_once_tmpvar.phpt b/tests/include/require_once_tmpvar.phpt index 2be24b2..956b563 100644 --- a/tests/include/require_once_tmpvar.phpt +++ b/tests/include/require_once_tmpvar.phpt @@ -16,4 +16,4 @@ suhosin.executor.include.blacklist= require_once $var.$app; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/?') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 4) +ALERT - Include filename ('http://127.0.0.1/?') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 4) diff --git a/tests/include/require_once_var.phpt b/tests/include/require_once_var.phpt index b3857f5..7a2e813 100644 --- a/tests/include/require_once_var.phpt +++ b/tests/include/require_once_var.phpt @@ -15,4 +15,4 @@ suhosin.executor.include.blacklist= require_once $var; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 3) +ALERT - Include filename ('http://127.0.0.1/') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 3) diff --git a/tests/include/require_tmpvar.phpt b/tests/include/require_tmpvar.phpt index d411067..e0b504f 100644 --- a/tests/include/require_tmpvar.phpt +++ b/tests/include/require_tmpvar.phpt @@ -16,4 +16,4 @@ suhosin.executor.include.blacklist= require $var.$app; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/?') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 4) +ALERT - Include filename ('http://127.0.0.1/?') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 4) diff --git a/tests/include/require_var.phpt b/tests/include/require_var.phpt index 20468d4..3ff9745 100644 --- a/tests/include/require_var.phpt +++ b/tests/include/require_var.phpt @@ -15,4 +15,4 @@ suhosin.executor.include.blacklist= require $var; ?> --EXPECTF-- -ALERT - Include filename ('http://127.0.0.1/') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 3) +ALERT - Include filename ('http://127.0.0.1/') is a URL that is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 3) -- cgit v1.3 From 72572c6633843074c5ac355410cd622be775afd9 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Tue, 25 Nov 2014 15:24:31 +0100 Subject: typo in filename --- tests/executor/function_whilelist.phpt | 17 ----------------- tests/executor/function_whilelist_absmax.phpt | 15 --------------- tests/executor/function_whilelist_call_user_func.phpt | 15 --------------- tests/executor/function_whilelist_maxabs.phpt | 15 --------------- tests/executor/function_whiletist_absmax.phpt | 15 +++++++++++++++ tests/executor/function_whitelist.phpt | 17 +++++++++++++++++ tests/executor/function_whitelist_call_user_func.phpt | 15 +++++++++++++++ tests/executor/function_whitelist_maxabs.phpt | 15 +++++++++++++++ 8 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 tests/executor/function_whilelist.phpt delete mode 100644 tests/executor/function_whilelist_absmax.phpt delete mode 100644 tests/executor/function_whilelist_call_user_func.phpt delete mode 100644 tests/executor/function_whilelist_maxabs.phpt create mode 100644 tests/executor/function_whiletist_absmax.phpt create mode 100644 tests/executor/function_whitelist.phpt create mode 100644 tests/executor/function_whitelist_call_user_func.phpt create mode 100644 tests/executor/function_whitelist_maxabs.phpt (limited to 'tests') diff --git a/tests/executor/function_whilelist.phpt b/tests/executor/function_whilelist.phpt deleted file mode 100644 index 9017ab4..0000000 --- a/tests/executor/function_whilelist.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -Testing: suhosin.executor.func.whitelist=abs ---SKIPIF-- - ---INI-- -suhosin.log.sapi=64 -suhosin.executor.func.whitelist=abs ---FILE-- - ---EXPECTF-- -ALERT - function outside of whitelist called: max() (attacker 'REMOTE_ADDR not set', file '%s', line 3) - -Warning: max() has been disabled for security reasons in %s on line 3 diff --git a/tests/executor/function_whilelist_absmax.phpt b/tests/executor/function_whilelist_absmax.phpt deleted file mode 100644 index f240e69..0000000 --- a/tests/executor/function_whilelist_absmax.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Testing: suhosin.executor.func.whitelist=abs,max ---SKIPIF-- - ---INI-- -suhosin.log.sapi=64 -suhosin.executor.func.whitelist=abs,max ---FILE-- - ---EXPECTF-- - diff --git a/tests/executor/function_whilelist_call_user_func.phpt b/tests/executor/function_whilelist_call_user_func.phpt deleted file mode 100644 index a54010f..0000000 --- a/tests/executor/function_whilelist_call_user_func.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Testing: suhosin.executor.func.whitelist=call_user_func ---SKIPIF-- - ---INI-- -suhosin.log.sapi=64 -suhosin.executor.func.whitelist=call_user_func ---FILE-- - ---EXPECTF-- -ALERT - function outside of whitelist called: printf() (attacker 'REMOTE_ADDR not set', file '%s', line 2) - -Warning: printf() has been disabled for security reasons in %s on line 2 diff --git a/tests/executor/function_whilelist_maxabs.phpt b/tests/executor/function_whilelist_maxabs.phpt deleted file mode 100644 index 88a356e..0000000 --- a/tests/executor/function_whilelist_maxabs.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Testing: suhosin.executor.func.whitelist=max,abs ---SKIPIF-- - ---INI-- -suhosin.log.sapi=64 -suhosin.executor.func.whitelist=max,abs ---FILE-- - ---EXPECTF-- - diff --git a/tests/executor/function_whiletist_absmax.phpt b/tests/executor/function_whiletist_absmax.phpt new file mode 100644 index 0000000..f240e69 --- /dev/null +++ b/tests/executor/function_whiletist_absmax.phpt @@ -0,0 +1,15 @@ +--TEST-- +Testing: suhosin.executor.func.whitelist=abs,max +--SKIPIF-- + +--INI-- +suhosin.log.sapi=64 +suhosin.executor.func.whitelist=abs,max +--FILE-- + +--EXPECTF-- + diff --git a/tests/executor/function_whitelist.phpt b/tests/executor/function_whitelist.phpt new file mode 100644 index 0000000..9017ab4 --- /dev/null +++ b/tests/executor/function_whitelist.phpt @@ -0,0 +1,17 @@ +--TEST-- +Testing: suhosin.executor.func.whitelist=abs +--SKIPIF-- + +--INI-- +suhosin.log.sapi=64 +suhosin.executor.func.whitelist=abs +--FILE-- + +--EXPECTF-- +ALERT - function outside of whitelist called: max() (attacker 'REMOTE_ADDR not set', file '%s', line 3) + +Warning: max() has been disabled for security reasons in %s on line 3 diff --git a/tests/executor/function_whitelist_call_user_func.phpt b/tests/executor/function_whitelist_call_user_func.phpt new file mode 100644 index 0000000..a54010f --- /dev/null +++ b/tests/executor/function_whitelist_call_user_func.phpt @@ -0,0 +1,15 @@ +--TEST-- +Testing: suhosin.executor.func.whitelist=call_user_func +--SKIPIF-- + +--INI-- +suhosin.log.sapi=64 +suhosin.executor.func.whitelist=call_user_func +--FILE-- + +--EXPECTF-- +ALERT - function outside of whitelist called: printf() (attacker 'REMOTE_ADDR not set', file '%s', line 2) + +Warning: printf() has been disabled for security reasons in %s on line 2 diff --git a/tests/executor/function_whitelist_maxabs.phpt b/tests/executor/function_whitelist_maxabs.phpt new file mode 100644 index 0000000..88a356e --- /dev/null +++ b/tests/executor/function_whitelist_maxabs.phpt @@ -0,0 +1,15 @@ +--TEST-- +Testing: suhosin.executor.func.whitelist=max,abs +--SKIPIF-- + +--INI-- +suhosin.log.sapi=64 +suhosin.executor.func.whitelist=max,abs +--FILE-- + +--EXPECTF-- + -- cgit v1.3