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:
Chris Morgan
2007-01-06 06:27:50 +00:00
committed by WineHQ
parent bafd714c01
commit 3eca785210
3 changed files with 164 additions and 7 deletions

View File

@@ -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");
?>