No Code Attached Yet bug
avatar janschoenherr
janschoenherr
23 Oct 2025

Steps to reproduce the issue

When entering the following string into an article and trying to save. An exception is thrown.

"mailto:dummy@dummydomain.com\"

This is seemingly caused by the backslash before the quote.

This can happen if you have markup stored in json:

{"content":"<p>Email: <a href=\\"mailto:dummy@dummydomain.com\\">dummy@dummydomain.com<\\/a><\\/p>"}

Expected result

No error should be thrown.

Actual result

An exception with Prohibited input U+0000005C is thrown.

System information (as much as possible)

Joomla 6.0

Additional comments

In previous Joomla versions (e.g. 5.4.0) this did not happen.

avatar janschoenherr janschoenherr - open - 23 Oct 2025
avatar joomla-cms-bot joomla-cms-bot - change - 23 Oct 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Oct 2025
avatar janschoenherr janschoenherr - change - 23 Oct 2025
The description was changed
avatar janschoenherr janschoenherr - edited - 23 Oct 2025
avatar brianteeman
brianteeman - comment - 23 Oct 2025

Confirmed.

Stack trace

# Function Location
1 () JROOT\libraries\vendor\algo26-matthias\idna-convert\src\NamePrep\NamePrep.php:75
2 Algo26\IdnaConvert\NamePrep\NamePrep->applyCharacterMaps() JROOT\libraries\vendor\algo26-matthias\idna-convert\src\NamePrep\NamePrep.php:52
3 Algo26\IdnaConvert\NamePrep\NamePrep->do() JROOT\libraries\vendor\algo26-matthias\idna-convert\src\Punycode\ToPunycode.php:35
4 Algo26\IdnaConvert\Punycode\ToPunycode->convert() JROOT\libraries\vendor\algo26-matthias\idna-convert\src\ToIdn.php:58
5 Algo26\IdnaConvert\ToIdn->convert() JROOT\libraries\src\String\PunycodeHelper.php:44
6 Joomla\CMS\String\PunycodeHelper::toPunycode() JROOT\libraries\src\String\PunycodeHelper.php:213
7 Joomla\CMS\String\PunycodeHelper::emailToPunycode() JROOT\libraries\src\Filter\InputFilter.php:155
8 Joomla\CMS\Filter\InputFilter->emailToPunycode() JROOT\libraries\src\Component\ComponentHelper.php:129
9 Joomla\CMS\Component\ComponentHelper::filterText() JROOT\libraries\src\Form\FormField.php:1119
10 Joomla\CMS\Form\FormField->filter() JROOT\libraries\src\Form\Form.php:1058
11 Joomla\CMS\Form\Form->filter() JROOT\libraries\src\Form\Form.php:1002
12 Joomla\CMS\Form\Form->process() JROOT\libraries\src\MVC\Model\FormModel.php:219
13 Joomla\CMS\MVC\Model\FormModel->validate() JROOT\administrator\components\com_content\src\Model\ArticleModel.php:640
14 Joomla\Component\Content\Administrator\Model\ArticleModel->validate() JROOT\libraries\src\MVC\Controller\FormController.php:636
15 Joomla\CMS\MVC\Controller\FormController->save() JROOT\libraries\src\MVC\Controller\BaseController.php:730
16 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
17 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:361
18 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\AdministratorApplication.php:150
19 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT\libraries\src\Application\AdministratorApplication.php:205
20 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:320
21 Joomla\CMS\Application\CMSApplication->execute() JROOT\administrator\includes\app.php:58
22 require_once() JROOT\administrator\index.php:32
avatar QuyTon QuyTon - change - 24 Oct 2025
Labels Added: bug
avatar QuyTon QuyTon - labeled - 24 Oct 2025

Add a Comment

Login with GitHub to post a comment