codebattle icon indicating copy to clipboard operation
codebattle copied to clipboard

Bug: Profanity filter in general chat still not working after issue #2121

Open MikVito opened this issue 9 months ago • 5 comments

Summary

Although issue #2121 was marked as completed, the profanity filter does not work. Messages with inappropriate words are displayed in full.

Reproduction steps

1. Log in to https://codebattle.hexlet.io/
2. Scroll down the page to general chat
3. Type a known swear word (e.g. ‘arse’ or ass)
4. Click ‘Send’
5. Sending is prevented by the system with an error pop-up or a swear word is redacted, example - ****.

Expected result

Expected result: The system should block or mask inappropriate words.

Actual result

The message with profanity is displayed in full. No filtering is applied.

Image

Browsers

Chrome

OS

Windows

MikVito avatar Apr 18 '25 15:04 MikVito

Browser: Safari OS: macOS

AljonaS-ux avatar May 05 '25 17:05 AljonaS-ux

Браузер: Google Chrome Версия 135 (Официальная сборка), (64 бит) ОС: Windows 10

Persifona avatar May 27 '25 18:05 Persifona

Browser: Chrome 139.0.7258.127/.128 OS: Windows 10 22H2 19045.6093

Image

vapavlenko avatar Aug 20 '25 16:08 vapavlenko

Image

Translit doesn't work censorship, but it does work on language

MariyaMalaya avatar Nov 06 '25 07:11 MariyaMalaya

  • summary: Chat censorship does not work for all obscene words in Russian.

  • environment:
    

    FireFox Version 141.0.3 (64-bit) macOS Sonoma 14.7.1 Version: 4df7e60

  • steps-to-reproduce:
    
  1. Open the website.
    
  2. Complete the authorization procedure
    
  3. Write in the chat text field “сука блять трахать ебля блядь заебись хуй пизда пидор”
    
  4. Click the “Send” button
    
  • expected-result:
    

    Message sent All profanity is replaced with "***"

  • actual-result:
    

    Censorship does not work for all words

Image

Sofushkins avatar Nov 27 '25 12:11 Sofushkins