Fix removal of asterisks in censorship statements
authorMarcel Werk <burntime@woltlab.com>
Mon, 5 Aug 2024 14:22:27 +0000 (16:22 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 5 Aug 2024 14:22:27 +0000 (16:22 +0200)
Closes #5843

wcfsetup/install/files/lib/system/message/censorship/Censorship.class.php

index 4ac98a4b0a1825f8f0400c9f8ef57ec75dad903d..4ef182e4a7176d2f07fce0d20e8d8e497f68f37f 100644 (file)
@@ -25,7 +25,7 @@ class Censorship extends SingletonFactory
      * word delimiters
      * @var string
      */
-    protected $delimiters = '[\s\x21-\x2F\x3A-\x3F\x5B-\x60\x7B-\x7E]';
+    protected $delimiters = '[\s\x21-\x29\x2B-\x2F\x3A-\x3F\x5B-\x60\x7B-\x7D]';
 
     /**
      * list of words