joomla/joomla-cms — pull request #2518 by jms2win (2013-11-14 16:50:00+00:00)
Title: Bugtracker #32702 - Menu type does not display components that have dire...

...ctories that contain the word view

As explained in the bug tracker, when a component contain a directory name that contain the word "view" and that this directory is returned before the "/view" directory then the menu type does not display the component menu types.

The implementation consists to use the regular expression to just accept the word "view" with an optional S
All the other directory name that would contain the word view will be ignored (ie. viewer, myview, ...)