filter_gpc() should report success or failure, a higher level function should take care of calling out to an error page.
Add a unit test for filter_gpc() and test filtering success, failure and test that the filtering of html and normal strings properly preserves tags for html strings and strips them from normal strings
This commit is contained in:
@@ -20,4 +20,6 @@ echo "\n";
|
||||
include_once("test_application.php");
|
||||
echo "\n";
|
||||
include_once("test_error_log.php");
|
||||
echo "\n";
|
||||
include_once("test_filter.php");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user