Unexpected censoring in topic title

AI-generated summary

User cm0nt0y4 reported an unexpected censorship error where posting a topic title containing the letter “k” failed, despite the character not being in their censored words list cm0nt0y4. Staff member Falco confirmed this was a regression and promised a fix. The issue was resolved in commit 2551687, which also addressed a related bug involving regex characters in censored words. codinghorror advised that the fix should be live on Discourse-hosted forums soon, suggesting users contact support via email if the update does not appear promptly.

I am getting an error on my Discourse forum that I can’t figure out. When trying to post a topic with the letter k in the title, I get the following error:

There is no “k” in my censored words list.

Removing the letter k causes the error to go away, and I’ll be able to post.

My Discourse forum is here:

I can post my censored words list if needed.

2 Likes

Here’s a topic attempt that is triggering the error:

4 Likes

Yes, I can confirm we had a small regression on this. Will fix soon.

3 Likes

Fixed in

https://github.com/discourse/discourse/commit/25516874b59e5a605425371684ab5ee72d9547c4

Also found a client site bug where censored words with regexp chars would cause censoring to raise an error and fail

https://github.com/discourse/discourse/commit/058df4329db685c025a87a9110399a1e9a271929

Thank you for reporting @cm0nt0y4

9 Likes

Any idea how soon the fix will be live on forums hosted by discourse?

3 Likes

Should be soon, email us via the dedicated support email address if you haven’t seen it in a bit!

5 Likes