Bug: Profanity filter in general chat still not working after issue #2121
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.
Browsers
Chrome
OS
Windows
Browser: Safari OS: macOS
Браузер: Google Chrome Версия 135 (Официальная сборка), (64 бит) ОС: Windows 10
Browser: Chrome 139.0.7258.127/.128 OS: Windows 10 22H2 19045.6093
Translit doesn't work censorship, but it does work on language
-
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:
-
Open the website. -
Complete the authorization procedure -
Write in the chat text field “сука блять трахать ебля блядь заебись хуй пизда пидор” -
Click the “Send” button
-
expected-result:Message sent All profanity is replaced with "***"
-
actual-result:Censorship does not work for all words