Revert "Fix removal of asterisks in censorship statements"
authorMarcel Werk <burntime@woltlab.com>
Tue, 31 Dec 2024 12:29:45 +0000 (13:29 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 31 Dec 2024 12:31:51 +0000 (13:31 +0100)
This reverts commit a0281adf9edbf0d0cf9dd48c713aaa5dfc87ddde.

See https://www.woltlab.com/community/thread/310091-platzhalter-in-zensur-funktion-funktioniert-f%C3%BCr-urls-nicht-mehr/

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

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