Hi all.
I'm experiencing a strange behaviour with the routing in my site
I want to intercept this path: /ja/firenze/教会と宗教的なサイト/サンタ・クローチェ教会-other-text
My router rule is:
$routerMain->add(
'/{language:[a-z]{2}}/{slug:[\p{L}-a-z-0-9\-]+}/{slug2:[\p{L}-a-z-0-9\-]+}', [
'module' => 'frontend',
'controller' => 'index',
'action' => 'index',
])->setName("test_japan");
and It give a 404.
if I try with this: /ja/firenze/other-text
it's ok.
if I try: /ja/firenze/フィレンツェ-other-text
it's ok
if i try: /ja/フィレンツェ/other-text-フィレンツェ
it ok