Support

Admin Tools

#42186 Bad Words Filtering

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5
PHP version
8
Admin Tools version
7.8.1

Latest post by komir on Monday, 18 August 2025 06:33 CDT

komir

I’m using Admin Tools Pro. The Bad words validation works correctly when I test with English words — the form blocks the submission as expected.

However, when I add a word in Russian (for example, using Cyrillic script), the filter does not block the message. The form submits successfully even though the word is listed in the restricted words field.

Is there a known issue with non-Latin characters or Unicode handling in the Restricted Words Filtering rule? Any advice on how to make it work with Russian or other non-English languages?

4M CAD profesionalni CAD alat

komir

Is it also possible to export bad words and import them into another Admin Tools installation?

Where can translate error message on Bad word submission? 

"We detected that your latest request may have been part of suspicious activity and has been blocked. If you believe you are getting this message in error please let us know through our site's contact form."

4M CAD profesionalni CAD alat

nicholas
Akeeba Staff
Manager

Is there a known issue with non-Latin characters or Unicode handling in the Restricted Words Filtering rule? Any advice on how to make it work with Russian or other non-English languages?

The Bad Words feature looks for a 1:1 string match between input data and what you have entered. If the input has been URL-encoded or encoded as HTML entities it doesn't match.

This didn't use to be a problem, since the feature was originally intended to block spam submission in contact forms which at the time only accepted plain text. The browser submitted a raw Unicode bytestream which would always match. I can see how this can be a problem when you're using a WYSIWYG editor (like the built-in TinyMCE editor), or when you have a form submitting as a GET request.

I'll address that in the next release. My plan for the next release is beginning of September. As a rule of thumb, I don't make releases in August because most of Europe is on vacation during part of the month.

Is it also possible to export bad words and import them into another Admin Tools installation?

We do have the Export Settings and Import Settings features. In Export Settings set Bad Words to Yes and everything else to No. Then import this file into your other sites.

Take a look at the Admin Tools – Auto-import configuration scheduled task type if you want to semi-automate this process, storing the exported JSON file in a URL accessible to all of your sites. 

Take a look at the admintools:export CLI command if you want the export to be automated as well. You can use jq to post-process the export if you want to only include the Bad Words in the exported JSON file.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

komir

Thank you for your clarification.

Have nice day

4M CAD profesionalni CAD alat

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!