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
hertz/pkg/app/context.go
Lines 980 to 994 in 3ac19d5
This code has a security risk, when using the ClientIP function it is easy to be spoofed by "X-Real-IP" and "X-Forwarded-For" to bypass the checks。
This problem also occurs with the Gin framework -> gin-gonic/gin#2473 The fix can be found in their issue。
The text was updated successfully, but these errors were encountered:
Thanks for reporting! Are you interested in submitting a pr to fix it? It's OK if it is not so, I'll put it into TODOs.
Sorry, something went wrong.
i want to try it, please assign me.
Geometry6151
BaiZe1998
Successfully merging a pull request may close this issue.
hertz/pkg/app/context.go
Lines 980 to 994 in 3ac19d5
This code has a security risk, when using the ClientIP function it is easy to be spoofed by "X-Real-IP" and "X-Forwarded-For" to bypass the checks。
This problem also occurs with the Gin framework -> gin-gonic/gin#2473
The fix can be found in their issue。
The text was updated successfully, but these errors were encountered: