Composer Dependency Changed ? Pending

User tests: Successful: Unsuccessful:

avatar Ilya-Zhulin
Ilya-Zhulin
19 Oct 2022

I couldn't force to work OutputFilter::stringUrlSafe. But after this correction of namespace I get correct alias from cyrillic title. It was 500 error in string 102 for Language::getInstance();
I found this path in Joomla Docu

Pull Request for Issue # .

Summary of Changes

Corrected namespace for Language

Testing Instructions

Try to transliterate some cyrillic string by Output filter. For example:

use Joomla\Filter\OutputFilter;

$text = OutputFilter::stringUrlSafe('Тест',  'ru-RU');

Actual result BEFORE applying this Pull Request

Error 500

Expected result AFTER applying this Pull Request

$text='test';

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • [ *] No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • [* ] No documentation changes for manual.joomla.org needed

avatar Ilya-Zhulin Ilya-Zhulin - open - 19 Oct 2022
avatar Ilya-Zhulin Ilya-Zhulin - change - 19 Oct 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Oct 2022
Category External Library Libraries Composer Change
avatar Hackwar
Hackwar - comment - 21 Oct 2022

Hello Ilya, thank you for this PR. This is indeed a bug and also still valid for Joomla 4.x. I've therefor opened an issue here: joomla-framework/filter#54

However, Joomla 3 does not get any bugfixes anymore and is in security-fixes-only mode. That is why I'm closing this PR here. I informed the framework maintainer to hopefully get this solved in the relevant package very soon.

avatar Hackwar Hackwar - change - 21 Oct 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-10-21 13:04:32
Closed_By Hackwar
Labels Added: Composer Dependency Changed ?
avatar Hackwar Hackwar - close - 21 Oct 2022

Add a Comment

Login with GitHub to post a comment