diff options
author | Mario <mario@mariovavti.com> | 2023-03-02 11:00:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-03-02 11:00:03 +0000 |
commit | 3653a86ad3fe9b5ca40db1e3cabe7b7636bf2b86 (patch) | |
tree | 4a26d475603e99d1d18c8dfab08f3586448a5ae3 /Zotlabs/Lib/MessageFilter.php | |
parent | c8d913fba7d4ae8ecf82dc456a7f5ebf966127f9 (diff) | |
download | volse-hubzilla-3653a86ad3fe9b5ca40db1e3cabe7b7636bf2b86.tar.gz volse-hubzilla-3653a86ad3fe9b5ca40db1e3cabe7b7636bf2b86.tar.bz2 volse-hubzilla-3653a86ad3fe9b5ca40db1e3cabe7b7636bf2b86.zip |
message filter entries are stored encoded - make sure to decode the word before we use it
Diffstat (limited to 'Zotlabs/Lib/MessageFilter.php')
-rw-r--r-- | Zotlabs/Lib/MessageFilter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/MessageFilter.php b/Zotlabs/Lib/MessageFilter.php index 7d6dcbe8e..e7382c0d5 100644 --- a/Zotlabs/Lib/MessageFilter.php +++ b/Zotlabs/Lib/MessageFilter.php @@ -25,7 +25,7 @@ class MessageFilter { if ($exclude) { foreach ($exclude as $word) { - $word = trim($word); + $word = html_entity_decode(trim($word)); if (! $word) { continue; } @@ -73,7 +73,7 @@ class MessageFilter { if ($include) { foreach ($include as $word) { - $word = trim($word); + $word = html_entity_decode(trim($word)); if (! $word) { continue; } |