-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Invalid HEAD request causes 500 Internal Error with panic #17880
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Comments
wxiaoguang
added
type/bug
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
labels
Dec 2, 2021
Looks like it's a upstream issue https://github.com/go-chi/chi . |
For the record, I can't reproduce on 1.15.6 |
This is interesting. After searching the context key should have been set however:
Compare with:
The problem is that the context that get_head looks for is the non v5 version. We need a v5 version of the middleware. |
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Dec 2, 2021
Fix go-gitea#17880 Signed-off-by: Andrew Thornton <art27@cantab.net>
Got it! |
6543
pushed a commit
that referenced
this issue
Dec 2, 2021
Fix #17880 Co-authored-by: Lauris BH <lauris@nix.lv>
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Mar 28, 2022
Fix go-gitea#17880 Co-authored-by: Lauris BH <lauris@nix.lv>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Gitea Version
1.16 (or maybe 1.15 also)
Can you reproduce the bug on the Gitea demo site?
Yes
Description
The text was updated successfully, but these errors were encountered: