By slightly changing the example app, you can pass the received parameter in either controller to the other one.
The query param controller can take a parameter value a/b but when that gets passed to the path parameter controller, an error shows up "could not match controller for /foo/a/b" even though the / is escaped in the URL (http://localhost:8080/foo/f%2Fc).
By slightly changing the example app, you can pass the received parameter in either controller to the other one.
The query param controller can take a parameter value
a/b
but when that gets passed to the path parameter controller, an error shows up "could not match controller for /foo/a/b" even though the/
is escaped in the URL (http://localhost:8080/foo/f%2Fc
).