Depends on #78
Add routes in config/routes.php:
// Two-form: legacy URL pattern
'/services/ajax.php/{app}/{action}' → AjaxDispatchController
middleware: [AuthHordeSession]
methods: GET, POST
// Three-form: explicit interface.method
'/services/ajax.php/{app}/ajax/{qualifiedMethod}' → AjaxDispatchController
middleware: [JwtAuthMiddleware, AuthHordeSession,
DemandAuthenticatedUser, ConditionalCsrfMiddleware]
methods: GET, POST
The two-form route is reachable when traffic goes through the router
(responsive UI). Legacy Horde::url('services/ajax.php') direct script
hits still go to services/ajax.php — no behavioral change. Three-form
is a new URL pattern that nothing calls yet, purely additive.
Depends on #78
Add routes in
config/routes.php:The two-form route is reachable when traffic goes through the router
(responsive UI). Legacy
Horde::url('services/ajax.php')direct scripthits still go to
services/ajax.php— no behavioral change. Three-formis a new URL pattern that nothing calls yet, purely additive.