#780: Sanity checks in AgaviExecutionContainer::set*Name() need refactoring
------------------------+---------------------------------------------------
Reporter: david | Owner: felix
Type: task | Status: closed
Priority: normal | Milestone: 1.0
Component: controller | Version: 0.11.1
Severity: minor | Resolution: fixed
Keywords: | Has_patch: 0
------------------------+---------------------------------------------------
Changes (by felix):
* status: assigned => closed
* resolution: => fixed
Comment:
(In [2724]) - introduces the methods
AgaviController::checkActionFileExists() and
AgaviController::checkViewFileExists()
- adds the method AgaviToolkit::canonicalName()
- changes AgaviController::createActionInstance(),
AgaviController::createViewInstance() to use above methods
- changes all appropriate places to use AgaviToolkit::canonicalName()
instead of str_replace(...)
- changes AgaviExecutionFilter::execute() appropriately
- fixes sanity checks for Action and View names, fixes #780
- refs #829
--
Ticket URL: </ticket/780#comment:5>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets