When Unicode Aliases is enabled in Joomla, creating an article with punctuation in the title generates an alias that keeps commas instead of removing them.
When Unicode Aliases is disabled, the issue does not occur.
Steps to reproduce
My First Article, About Joomla Development
6.1
The generated alias should be: my-first-article-about-joomla-development
The generated alias is: my-first-article,-about-joomla-development
The comma , is being included in the alias when Unicode Aliases is enabled.
Joomla Version: 6.1
PHP Version: 8.4
Database Version: Mysql 10.6.24
When Unicode Aliases is disabled, the alias is generated correctly without the comma.
Aliases should automatically remove punctuation characters such as commas to create clean SEO-friendly URLs.
| Labels |
Added:
No Code Attached Yet
bug
|
||
The root cause is in the joomla-framework/filter package - the stringUrlUnicodeSlug() method''s forbidden characters regex is missing the comma- This is why it only happens when Unicode Aliases is enabled.
Should I do a PR on https://github.com/joomla-framework/filter with the fix??
The root cause is in the joomla-framework/filter package - the stringUrlUnicodeSlug() method''s forbidden characters regex is missing the comma- This is why it only happens when Unicode Aliases is enabled.
Should I do a PR on https://github.com/joomla-framework/filter with the fix??
@krishnagandhicode Yes, please do that. If the issue happens also with Joomla 5.4, i.e. the 3.x-dev branch of the filter framework, make the PR for the 3.x-dev branch there. I will then be merged up into the 4.x-dev branch there. Otherwise, if the issue only applies to Joomla 6 / framework 4.x, make the PR for the 4.x-dev branch. Thanks in advance.
Thanks @richard67 for guidance.
Raised PR (joomla-framework/filter#85) for 3.x-dev as issue exited also for J5.
Thanks @richard67 for guidance.
Raised PR (joomla-framework/filter#85) for 3.x-dev as issue existed also for J5.
Thanks @krishnagandhicode .
@aboarken @BeginnerJoomlaCom Could you test that fix joomla-framework/filter#85 , preferably with 5.4, but 6.1 should also work, and report back there if your test was successful? Thanks in advance.
Could you test that fix
Can't test, no prebuilt package available.
Could you test that fix
Can't test, no prebuilt package available.
You can apply the change from the fix manually by editing file "libraries/vendor/joomla/filter/src/OutputFilter.php" and applying the change which you can see in that PR.
report back there if your test was successful
done (test was successful).
Thanks @krishnagandhicode .
@aboarken @BeginnerJoomlaCom Could you test that fix joomla-framework/filter#85 , preferably with 5.4, but 6.1 should also work, and report back there if your test was successful? Thanks in advance.
Code was updated and the test was successful.
Issue confirmed.
System Information
Joomla! Version Joomla! 6.1.0 Stable [ Nyota ] 14-April-2026 16:00 UTC
Joomla Backward Compatibility Plugin Disabled
PHP Version 8.3.24
PHP Built On Linux lamp422.cloudaccess.net 5.14.0-503.31.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 13 06:50:51 EDT 2025 x86_64
Database Type mysql
Database Version 10.11.11-MariaDB-cll-lve
Database Collation utf8mb3_general_ci
Database Connection Collation utf8mb4_general_ci
Database Connection Encryption None
Database Server Supports Connection Encryption No
Web Server Apache
WebServer to PHP Interface litespeed
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:150.0) Gecko/20100101 Firefox/150.0