From: hickert Date: Tue, 27 Mar 2007 10:04:50 +0000 (+0000) Subject: Ensure that no closing tag '*/' is used within comments. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a60fef9fc3fd8c90241729a8e243d29e970bd031;p=gosa.git 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 --- 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; }