Author: Derick Rethans (derickr)
Date: 2025-03-18T16:14:18Z
Commit:
https://github.com/php/web-master/commit/2c6628863fca28bc849fbef449c7a52cad178e7c
Raw diff:
https://github.com/php/web-master/commit/2c6628863fca28bc849fbef449c7a52cad178e7c.diff
Try to block a persistent spammer
Changed paths:
M include/spam-lib.inc
Diff:
diff --git a/include/spam-lib.inc b/include/spam-lib.inc
index 8967801..3ffd4c8 100644
--- a/include/spam-lib.inc
+++ b/include/spam-lib.inc
@@ -63,6 +63,7 @@ $words_blacklist = [
'xanax',
'zanaflex',
'http://republika.pl',
+ 'sha384-QWTKZyjpPEjISv5', // https://news-web.php.net/php.notes/221987
et.al.
];
function check_spam_words ($text, $badwords) {