I've a problem with the "Router" component.
Router config:
$router->add('/([a-z0-9-]+)/([a-z0-9-]+).html', array( 'module' => 'frontend', 'controller' => 'content', 'action' => 'show', 'category' => 1, 'slug' => 2 ))->setName('showPage');
URL: https://localhost/test/request-gca.html
When I remove the ".html" in my router and remove the ".html" from my url, I can access the page. Otherwise I'll get a 404.
Routes like
$router->add('/metartaf_{icao}.html', array( 'module' => 'frontend', 'controller' => 'airports', 'action' => 'metartaf' ))->setName('airportMetarTafDetail');
are no problem. I can still access them but with a leading "/" in front of my regex-group ".html" seems to cause problems.
Is that a bug or am I doing it wrong?