aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/MessageFilter.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-03-02 11:00:03 +0000
committerMario <mario@mariovavti.com>2023-03-02 11:00:03 +0000
commit3653a86ad3fe9b5ca40db1e3cabe7b7636bf2b86 (patch)
tree4a26d475603e99d1d18c8dfab08f3586448a5ae3 /Zotlabs/Lib/MessageFilter.php
parentc8d913fba7d4ae8ecf82dc456a7f5ebf966127f9 (diff)
downloadvolse-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.php4
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;
}