mazipan / tanyaaja.in

❓Kumpulkan pertanyaan secara anonim dari siapa saja dengan mudah
https://tanyaaja.in
MIT License
134 stars 36 forks source link

A static block list words #66

Closed mazipan closed 11 months ago

mazipan commented 11 months ago

Is your feature request related to a problem? Please describe. I want to have blocklist words that used to block some bad words.

Describe the solution you'd like Create an Array or Map of words. Split the question by the space character, make sure it's not contained the bad words.

The check process should be done in the very beginning before doing any Database select to reduce unnecessary traffic to DB. Early return if it's not passing the check.