Code

Ensure that no closing tag '*/' is used within comments.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Mar 2007 10:04:50 +0000 (10:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Mar 2007 10:04:50 +0000 (10:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5903 594d385d-05f5-0310-b6e9-bd551577e9d8

include/sieve/class_sieveElement_Comment.inc

index e8caa157ca64ec0c812864e80bfefb046c663470..c3e126cece5bad41f1281fd3d508110b3a715bde 100644 (file)
@@ -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;
     }