New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grails 3.0.11 Forward With Custom Context #9531
Comments
is this related ( #9455 )?? Don't think it should be though because it should take into consideration contextPath. Still if it is, referencing here for devs. |
Thanks - I saw that one but it seemed a bit different. I did some more digging and It looks like the request URI has the context path appended twice. The context path is appended a second time by the servlet, so perhaps it should not be included here: RequestForwarder.groovy:108
|
Forward appears to result in a 404 when setting 'server.contextPath' in application.yml. Reproducable in a new project by creating two controllers where one forwards to another. It works if you remove the contextPath.
gradle.properties:
application.yml:
FirstController.groovy
SecondController.groovy
The text was updated successfully, but these errors were encountered: