No Code Attached Yet bug
avatar Kostelano
Kostelano
12 Mar 2024

Steps to reproduce the issue

Install a nightly build + several languages that use encodings other than en-GB. For example - Russian, Ukrainian, Belarusian languages (utf-8). Accordingly, set the language for the admin panel from these languages.

Go to plugins and disable, for example: Content - Smart Search, System - Redirect.

Go one by one to the smart search and redirect components. You will see a notification about disabled plugins. Click on the link, there is a rebus in the title.

Screenshot_11

This is probably due to the PR for modal pop-ups, because I have already found problems with “recognizing” the HTML code for special characters in pop-ups.

Screenshot_2

avatar Kostelano Kostelano - open - 12 Mar 2024
avatar joomla-cms-bot joomla-cms-bot - change - 12 Mar 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Mar 2024
avatar Hackwar Hackwar - change - 25 Mar 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 25 Mar 2024
avatar brianteeman
brianteeman - comment - 2 Aug 2024

I assume this has been fixed elsewhere as I cannot replicate the reported problem

image

image

avatar Kostelano
Kostelano - comment - 2 Aug 2024

I assume this has been fixed elsewhere as I cannot replicate the reported problem

Here we have actually fixed it, since the problem was left unattended - the "arrow" has been replaced with a word.

In other pop-up the problem still exists. There the language is simply in the UTF-8 encoding (see the 1st screenshot).

avatar brianteeman
brianteeman - comment - 2 Aug 2024

what arrow ???

image

avatar Kostelano
Kostelano - comment - 2 Aug 2024

what arrow ???

It doesn't matter, it was in our language before.

As for the problem, you can add a Cyrillic letter to the COM_REDIRECT_EDIT_PLUGIN_SETTINGS line of the en-GB language, save in UTF-8 and go to System - Redirects, click on the Redirect System Plugin link.

Screenshot_1

avatar Fedik
Fedik - comment - 2 Aug 2024

About the arrow, you should use simple text, just replace → with real arrow simbol (the HTML is not allowed anymore ? ):

dt.appendChild(createEl('span', Joomla.Text._('PLG_SYSTEM_SHORTCUT_THEN'), ['px-1']));

About the plugin editing, I can confirm the issue.

avatar Fedik
Fedik - comment - 2 Aug 2024

The problem comes from $app->enqueueMessage()

$message = [
'message' => $inputFilter->clean($msg, 'html'),
'type' => $inputFilter->clean(strtolower($type), 'cmd'),
];

Which doing extra filtering and destroys UTF-8 encoded symbols

avatar Fedik Fedik - change - 2 Aug 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-08-02 10:24:08
Closed_By Fedik
avatar Fedik Fedik - close - 2 Aug 2024
avatar Fedik
Fedik - comment - 2 Aug 2024

Please test #43874

Add a Comment

Login with GitHub to post a comment