From a60fef9fc3fd8c90241729a8e243d29e970bd031 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 27 Mar 2007 10:04:50 +0000 Subject: [PATCH] Ensure that no closing tag '*/' is used within comments. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5903 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/sieve/class_sieveElement_Comment.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sieve/class_sieveElement_Comment.inc b/include/sieve/class_sieveElement_Comment.inc index e8caa157c..c3e126cec 100644 --- a/include/sieve/class_sieveElement_Comment.inc +++ b/include/sieve/class_sieveElement_Comment.inc @@ -51,6 +51,7 @@ class sieve_comment { if(isset($_POST['comment_'.$this->object_id])){ $cm = stripslashes( $_POST['comment_'.$this->object_id]); + $cm = preg_replace("/\*\//","* /",$cm); $this->data = $cm; } -- 2.30.2