From a3b5d8ac36b629e9b655fd9ab86aaae57033c560 Mon Sep 17 00:00:00 2001 From: Stefan Lenders Date: Mon, 17 Apr 2017 09:29:42 +0200 Subject: [PATCH] Escape Post IP --- inc/plugins/trashbin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/plugins/trashbin.php b/inc/plugins/trashbin.php index cf0df4b..94e9351 100644 --- a/inc/plugins/trashbin.php +++ b/inc/plugins/trashbin.php @@ -335,6 +335,7 @@ function trashbin_escape_post($post) $post['username'] = $db->escape_string($post['username']); $post['message'] = $db->escape_string($post['message']); $post['editreason'] = $db->escape_string($post['editreason']); + $post['ipaddress'] = $db->escape_string($post['ipaddress']); return $post; }