ZF-11520: formatActionName() changes action name to lowercase but getActionName() in Request returns unchanged action name

Description

I have a route that looks like this: /article/:id/:action and it maps to /Article/article/create/id/1

When I try to access it with /article/1/EDIT my route matches and is assembled correctly because Zend_Controller_Dispatcher_Abstract::formatActionName() transforms parameter from my request to lowercase.

When I try to print editorial menu by matching $this->getRequest()->getActionName() with 'edit' it returns false (because 'EDIT' != 'edit').

Either getRequest()->getActionName() should return correctly transformed action name or formatActionName() should not transform it to lowercase.

Comments

No comments to display