Zend Route issue.
Normally it works fine.
http://www.example.com/course-details/1/Physics-Newtons-Law
But if I type in an extra slash in the url, the noauthAction of my Error controller gets called.
Example of URL's that are not working.
http://www.example.com/course-details//1/Physics-Newtons-Law http://www.example.com/course-details/1//Physics-Newtons-Law
Is there something I need to set in the route definition to allow extra slashes?
Routing in application.ini
resources.router.routes.viewcourse.route = "/course-details/:course_id/:title" resources.router.routes.viewcourse.defaults.controller = course resources.router.routes.viewcourse.defaults.action = view resources.router.routes.viewcourse.defaults.title = resources.router.routes.viewcourse.reqs.course_id = "\d+"