![]() ![]() | ![]() |
Initial revision
--TEST-- Bug #42718 - 2 (unsafe_raw filter not applied when configured as default filter) --SKIPIF-- <?php if (!extension_loaded("filter")) die("skip"); ?> --INI-- display_errors=0 magic_quotes_gpc=1 filter.default=unsafe_raw filter.default_flags= --GET-- a=1%00 --FILE-- <?php echo ini_get('filter.default') . "\n"; echo ini_get('filter.default_flags') . "\n"; echo addcslashes($_GET['a'],"\0") . "\n"; ?> --EXPECT-- unsafe_raw 1\0