From: Alexander Ebert Date: Mon, 2 Mar 2015 17:11:38 +0000 (+0100) Subject: Fixed censorship treating '@' as delimiter X-Git-Tag: 2.1.1~17 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b44feb5ebaccd018e876d68cec01b142f5c6e49c;p=GitHub%2FWoltLab%2FWCF.git Fixed censorship treating '@' as delimiter Stripping the '@' makes it impossible to match against e-mail addresses. --- 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