Issues

ZF-10373: REQUEST_URI problem

Description

A'm created module 'admin'. If get this module by url http://project.local/Admin/, i have notice: Undefined index: Admin in /usr/local/lib/php/Zend/Controller/Dispatcher/Standard.php on line 384

If get this module by url http://project.local/admin/ - not problem.

P.S. I can fixed this bug in Bootstrap: $_SERVER['REQUEST_URI'] = strtolower($_SERVER['REQUEST_URI']);

Comments

@Alexey I've attached a patch which should fix the specific issue you are encountering

Please attach patch with tests.

Thanks advance.

@Ramon Apologies...I thought I had included it. I've added a new patch with the test.

The existing behavior is intended behavior; paths must be case sensitive. Allowing multiple paths to the same module/controller/action will, among other issues, cause significant SEO problems as Google will see duplicate content at multiple URLs.

Closing as won't fix.