From b44feb5ebaccd018e876d68cec01b142f5c6e49c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 2 Mar 2015 18:11:38 +0100 Subject: [PATCH] Fixed censorship treating '@' as delimiter Stripping the '@' makes it impossible to match against e-mail addresses. --- .../files/lib/system/message/censorship/Censorship.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/message/censorship/Censorship.class.php b/wcfsetup/install/files/lib/system/message/censorship/Censorship.class.php index 7e6b68feaa..fc2b7ac526 100644 --- a/wcfsetup/install/files/lib/system/message/censorship/Censorship.class.php +++ b/wcfsetup/install/files/lib/system/message/censorship/Censorship.class.php @@ -24,7 +24,7 @@ class Censorship extends SingletonFactory { * word delimiters * @var string */ - protected $delimiters = '[\s\x21-\x2F\x3A-\x40\x5B-\x60\x7B-\x7E]'; + protected $delimiters = '[\s\x21-\x2F\x3A-\x3F\x5B-\x60\x7B-\x7E]'; /** * list of words -- 2.20.1