New issue 2 by jbalde: Error when servlet are called same a directory
http://code.google.com/p/puntoengine/issues/detail?id=2
What steps will reproduce the problem?
1. Declare a servlet same <Patter>/test</Patter>
2. Execute in browser ~/test/
3. Show error
For not duplicate Patterns configuration with final bar same as directory
(/test/), added support for if servlet are declared and called same a
directory, the engine load same if the lasted bar aren't typped.
Comment #1 on issue 2 by jbalde: Error when servlet are called same a
directory
http://code.google.com/p/puntoengine/issues/detail?id=2
Solved it in Kernel::getServlet() line 251
Change line by
$servletClass =
$document->selectSingleNode('/Web/Servlets/Servlet[Patterns/Pattern
= "'.$servletName.'" or concat(Patterns/Pattern, "/")
= "'.$servletName.'"]/Class');