We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mn create-app -b gradle_kotlin micronaut-abc
build.gradle.kts
runtime("tomcat")
package micronaut.abc; import io.micronaut.http.HttpRequest; import io.micronaut.http.annotation.Controller; import io.micronaut.http.annotation.Get; @Controller() public class HelloController { @Get("hello") public String hello(HttpRequest<?> httpRequest) { return httpRequest.getUri().toString(); } }
curl "http://localhost:8080/hello?a=1&b=2"
Both curl commands should output the same result: "hello?a=1&b=2"
The first curl command (when using tomcat) returns "hello", the second curl command (when using netty) returns "hello?a=1&b=2".
The text was updated successfully, but these errors were encountered:
getUri() return path with query strings. Fix micronaut-projects#298
2084ee3
getUri() return path with query strings (#329)
4b3e4a2
Fixes #298
n0tl3ss
Successfully merging a pull request may close this issue.
Task List
Steps to Reproduce
mn create-app -b gradle_kotlin micronaut-abc
build.gradle.kts
mentionsruntime("tomcat")
curl "http://localhost:8080/hello?a=1&b=2"
build.gradle.kts
from tomcat to netty.curl "http://localhost:8080/hello?a=1&b=2"
Expected Behaviour
Both curl commands should output the same result: "hello?a=1&b=2"
Actual Behaviour
The first curl command (when using tomcat) returns "hello", the second curl command (when using netty) returns "hello?a=1&b=2".
Environment Information
The text was updated successfully, but these errors were encountered: