Closed
Description
Gitea version: 1.14.0+dev-610-gafbddf1f0
If you apply this patch to test a panic:
diff --git a/routers/user/profile.go b/routers/user/profile.go
index e19407baa..99c17479b 100644
--- a/routers/user/profile.go
+++ b/routers/user/profile.go
@@ -53,6 +53,10 @@ func Profile(ctx *context.Context) {
return
}
+ if uname != "" {
+ panic("Let's panic")
+ }
+
isShowKeys := false
if strings.HasSuffix(uname, ".keys") {
isShowKeys = true
It return a plain text with the stack-trace