diff options
Diffstat (limited to 'Postman/PostmanAjaxController.php')
-rw-r--r-- | Postman/PostmanAjaxController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Postman/PostmanAjaxController.php b/Postman/PostmanAjaxController.php index e8e54b6..16d70cc 100644 --- a/Postman/PostmanAjaxController.php +++ b/Postman/PostmanAjaxController.php @@ -49,7 +49,7 @@ if (! class_exists ( 'PostmanAbstractAjaxHandler' )) { */ protected function getRequestParameter($parameterName) { if (isset ( $_POST [$parameterName] )) { - $value = $_POST[$parameterName]; + $value = sanitize_text_field($_POST[$parameterName]); $this->logger->trace ( sprintf ( 'Found parameter "%s"', $parameterName ) ); $this->logger->trace ( $value ); return $value; |