User tests: Successful: Unsuccessful:
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 # .
Corrected namespace for Language
Try to transliterate some cyrillic string by Output filter. For example:
use Joomla\Filter\OutputFilter;
$text = OutputFilter::stringUrlSafe('Тест', 'ru-RU');
Error 500
$text='test';
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
Status | New | ⇒ | Pending |
Category | ⇒ | External Library Libraries Composer Change |
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
?
|
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.