Skip to content
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

main: return 404 in the root HTTP handler iff path is not "/" #67

Merged
merged 1 commit into from
Dec 5, 2018

Conversation

GiedriusS
Copy link
Contributor

Return 404 in the root HTTP handler iff the path is not "/" so that the
users would be able to access other end-points such as
"/debug/pprof/heap" and so on.

Unblocks work on issue #66.

Return 404 in the root HTTP handler iff the path is not "/" so that the
users would be able to access other end-points such as
"/debug/pprof/heap" and so on.

Signed-off-by: Giedrius Statkevičius <[email protected]>
@matthiasr
Copy link
Contributor

thank you!

matthiasr pushed a commit that referenced this pull request Dec 5, 2018
Signed-off-by: Matthias Rampke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants