From 36dbfacbe64697d959f524e537b15b73c090d898 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Sun, 21 Feb 2010 11:44:54 +0100 Subject: Inital commit --- tests/executor/disable_emod_on.phpt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/executor/disable_emod_on.phpt (limited to 'tests/executor/disable_emod_on.phpt') diff --git a/tests/executor/disable_emod_on.phpt b/tests/executor/disable_emod_on.phpt new file mode 100644 index 0000000..6daf82f --- /dev/null +++ b/tests/executor/disable_emod_on.phpt @@ -0,0 +1,19 @@ +--TEST-- +Testing: suhosin.executor.disable_emodifier=1 +--SKIPIF-- + +--INI-- +suhosin.log.sapi=64 +suhosin.executor.disable_emodifier=1 +--FILE-- + +--EXPECTF-- +string(5) "HALLO" +ALERT - use of preg_replace() with /e modifier is forbidden by configuration (attacker 'REMOTE_ADDR not set', file '%s', line 5) + +Fatal error: SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in %s(5) : regexp code on line 5 -- cgit v1.3