No Code Attached Yet bug
avatar aboarken
aboarken
28 Sep 2026

What happened?

When I try to save a user with a username containing a denied character such as < or >, Joomla shows a validation error. However, the error message does not display the < and > characters, even though they are included in the language string.

Version

6.1

Expected result

The validation error should display all the denied characters defined in the language string, including < and >.

Save failed with the following error: Please enter a valid username. No space at beginning or end, at least 2 characters, must not have the following characters: < > \ " ' % ; ( ) & and be less than 150 characters long.

Actual result

I would expect the error message to show all the characters that are not allowed in the username, including < and >.

The actual message shown is:

Please enter a valid username. No space at beginning or end, at least 2 characters, must not have the following characters: \ " ' % ; ( ) & and be less than 150 characters long.

The corresponding language string is:

JLIB_DATABASE_ERROR_VALID_AZ09="Please enter a valid username. No space at beginning or end, at least %d characters, must not have the following characters: < > \ " ' % ; ( ) & and be less than 150 characters long."

System Information

Joomla 6.1.3
PHP: 8.4.23

Additional Comments

It looks like the < and > characters are being removed when Joomla displays the validation message.

The message should ideally display the same list of denied characters as defined in the language string, so users can clearly see which characters are not allowed.

avatar aboarken aboarken - open - 28 Sep 2026
avatar joomla-cms-bot joomla-cms-bot - change - 28 Sep 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Sep 2026
avatar aboarken
aboarken - comment - 28 Sep 2026

Hello @alikon, do you think Joomla's user table validation is silently removing < and > ?

avatar aboarken
aboarken - comment - 28 Sep 2026

Hello @alikon, I think there is a Joomla filter validation somewhere which is silently removing < and > , right?

avatar muhme muhme - change - 1 Oct 2026
Status New ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-10-01 09:42:47
Closed_By ⇒ muhme
avatar muhme muhme - close - 1 Oct 2026

Add a Comment

Login with GitHub to post a comment