-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
NullPointerException for request with empty Host header #37554
Labels
Comments
Can you report this issue in Vert.x Core? Not much we can do here. |
Ok, done |
that's actually missing host header in vert-web vert-x3/vertx-web#2536 empty works correclty |
@vietj thanks for the quick fix |
Closing as an upstream issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
NPE when calling with Header "Host: "
Expected behavior
No NPE
Actual behavior
NPE is thrown inside vert.x
How to Reproduce?
Create a Quarkus application and call with curl
curl -iv -H "User-Agent:" -H "Accept:" -H "Host:" http://localhost:3186/q/health/live
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
see #36234
The text was updated successfully, but these errors were encountered: