diff --git a/xExtension-ShareByEmail/Controllers/shareByEmailController.php b/xExtension-ShareByEmail/Controllers/shareByEmailController.php index fbc69659..53f04dd9 100644 --- a/xExtension-ShareByEmail/Controllers/shareByEmailController.php +++ b/xExtension-ShareByEmail/Controllers/shareByEmailController.php @@ -70,7 +70,7 @@ public function shareAction(): void { if (Minz_Request::isPost()) { $this->view->to = $to = Minz_Request::paramString('to'); - $this->view->subject = $subject = Minz_Request::paramString('subject'); + $this->view->subject = $subject = Minz_Request::paramString('subject', plaintext: true); $this->view->content = $content = Minz_Request::paramString('content'); if ($to == "" || $subject == "" || $content == "") { diff --git a/xExtension-ShareByEmail/metadata.json b/xExtension-ShareByEmail/metadata.json index a8411abc..6d57637f 100644 --- a/xExtension-ShareByEmail/metadata.json +++ b/xExtension-ShareByEmail/metadata.json @@ -2,7 +2,7 @@ "name": "Share By Email", "author": "Marien Fressinaud", "description": "Improve the sharing by email system.", - "version": "0.3.3", + "version": "0.3.4", "entrypoint": "ShareByEmail", "type": "user" }