summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/classes/Request.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/classes/Request.php b/core/classes/Request.php
index cedb8a1..e1148b4 100644
--- a/core/classes/Request.php
+++ b/core/classes/Request.php
@@ -74,6 +74,16 @@ class Request
}
+ /**
+ * Check:
+ *
+ * 1.
+ * https://dev.to/anastasionico/good-practices-how-to-sanitize-validate-and-escape-in-php-3-methods-139b
+ *
+ * 2.
+ * https://benhoyt.com/writings/dont-sanitize-do-escape/
+ *
+ */
private function sanitize($array)
{
// TODO: