pablobm created an issue (openstreetmap/openstreetmap-website#6510)
### Problem
User profiles are a vector for spam in the website. Some instances are caught
using a hard-coded list of "spammy phrases" that can be found at
[`lib/rich_text.rb`](https://github.com/openstreetmap/openstreetmap-website/blob/b715c12a0aae54631addfff1b93600e0337df3d3/lib/rich_text.rb#L4).
Being hard-coded, this list is difficult to manage. See
https://github.com/openstreetmap/openstreetmap-website/pull/6044
### Description
Move the list of spammy phrases to the database. For the moment don't include
an UI. Admins can add/remove with SQL manually. An UI will be added separately.
### Screenshots
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6510
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev