MVCR/test
Abel Hoogeveen 9d86c03f02
Fixed critical security bug, risking unprotected views to be exposed.
Had to make some design concessions. ViewType can no longer be distilled using the routeMatches, but must instead now be provided by the more static routeConfig. This way, the chosen ViewType shall always be one that is chosen by the developer.

Also added some other smaller features, as requested by other components and plugins:
- Now added a 'namespacePrefix' for Router::defaultCallable. Allows for the usage of Views and Controllers from a namespace different from '\\Application', from within the router sphere.
- Added a $routes = [] parameter to Router::route(), allowing the developer to bypass the global routes list if necessary.
2021-01-19 21:16:39 +01:00
..
controllers Fixed critical security bug, risking unprotected views to be exposed. 2021-01-19 21:16:39 +01:00
mcr Fixed critical security bug, risking unprotected views to be exposed. 2021-01-19 21:16:39 +01:00
models Created MVCR Framework 2019-02-01 00:55:49 +01:00
temp Added placeholder file for temp directory, otherwise unit testing doesn't work. 2019-02-01 12:02:15 +01:00
views Fixed critical security bug, risking unprotected views to be exposed. 2021-01-19 21:16:39 +01:00
autoload.php Fixed critical security bug, risking unprotected views to be exposed. 2021-01-19 21:16:39 +01:00
bootstrap.php Fixed critical security bug, risking unprotected views to be exposed. 2021-01-19 21:16:39 +01:00
phpunit.xml Fixed critical security bug, risking unprotected views to be exposed. 2021-01-19 21:16:39 +01:00