From a051e39b19b02468aee30e186535953fb948ddca Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 22 Feb 2023 14:51:40 -0500 Subject: [PATCH] Added clear_post_data. --- src/bootstrap/safer_io.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bootstrap/safer_io.php b/src/bootstrap/safer_io.php index af44ebe..3c8b7e3 100644 --- a/src/bootstrap/safer_io.php +++ b/src/bootstrap/safer_io.php @@ -119,6 +119,10 @@ final class safer_io { } } + public static function clear_post_data() { + self::$string_of_POST_data = ""; + } + public static function convert_to_utf8(string $in_str): string { if (! extension_loaded('mbstring')) { return $in_str;