@luceos I'm not sure why that is but I got a newly registered user (luckily not a spammer) managing to bypass the spam prevention although he posted a link to Facebook which I'm not allowing. However I'm allowing links to YouTube and his posts contained two other links to YouTube. I tried a scenario to reproduce it (one Facebook link and one YouTube link) but couldn't. However if I test with the exact same post he had, I can reproduce it, so here's his post:
They've already mentioned Yuja and Khatia (who I'd nominate for the most *Khurvaceous Bach-*side). Here are three more candidates: Connie Han Jazz pianist ; Riyoko Takagi Autumn Leaves ; Donka Angatscheva : Classical trio . PS- No bunnies were harmed during the production of Riyoko's performance.
Here's the raw content of that paragraph above:
They've already mentioned Yuja and Khatia (who I'd nominate for the most \*Khurvaceous Bach-\*side). Here are three more candidates: Connie Han [Jazz pianist](https://www.facebook.com/conniehanjazz/videos/738541330863782) ; Riyoko Takagi [Autumn Leaves](https://www.youtube.com/watch?v=shD0270uII0) ; Donka Angatscheva : [Classical trio](https://www.youtube.com/watch?v=1fXDFp3qx7k) . PS- No bunnies were harmed during the production of Riyoko's performance.
And here's what I have in the extend.php:
return [
(new Spam\Filter)
->allowLinksFromDomain('youtube.com')
->allowLinksFromDomain('youtu.be')
->allowLinksFromDomain('pianoclack.com')
->allowLinksFromDomain('pianoclack.s3.us-east-1.amazonaws.com')
// How long after sign up all posts are scrutinized for bad content
->checkForUserUpToHoursSinceSignUp(24)
// How many of the first posts of a user to scrutinize for bad content
->checkForUserUpToPostContribution(5)
// Specify the user Id of the moderator raising flags for some actions, otherwise the first admin is used
->moderateAsUser(1),
//->enable(),
];