Gin gin.setMode release effect,but console still output run on debug mode

With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....

Gin Panic in context .Value() When Key Not Found and .engine is nil

DescriptionAfter upgrading to 1.9.0 (from 1.5.0), our test code is now crashing here in context.go line 1216: if !c.e...

Gin Panic context.engine is nil

With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....

Gin 🐛 Nil pointer dereference when context has no engine defined

DescriptionIn cases where we create a context with no engine (e.g. unit tests), it might lead to a nil pointer dereferen...

Gin new a gin context bug

Descriptionpackage mainimport ( "github.com/gin-gonic/gin")func main() { ctx := new(gin.Context) fmt....

Gin Middleware ignores custom set response status code

DescriptionI have a Middleware which adds the xml.Header string to every response body. As you can see in the Code Examp...

Gin Cannot use 'templateFSConvert' (type *"text/template"...

Hi!How to fix this problem?Cannot use 'templateFSConvert' (type "text/template".Template) as the type "html/template".Te...

Gin Status() not setting up status in response for unit test

Descriptionctx.Status(http.StatusCreated) is not setting up status in response and I am always getting 200.But If I add ...

Gin Gin Web Framework does not properly sanitize filename parameter

Vulnerability in gin framework:Here is the description of the issue - https://github.com/advisories/GHSA-2c4m-59x9-fr2gD...

Gin Support COPY http method in RFC 4918 specs

I am trying to define HTTP method COPY in my gin router as defined by RFC 4918 specification but gin router group does n...

Gin Problem with c.BindJSON(&body) related with use it in middleware to check if the signature is right

I have a header is coming with the signature of the body, and that body is a JSON, I need read the body in a middleware,...

Gin Need to handle files with dynamic names from root

Hi!May be wrong place to ask, sorry.I need to handle dynamically named files from the root of my site for testing purpos...

Gin how to use Goroutine in Gin

can I use goroutione like:router := gin.Default() go router.POST("test", func(c *gin.Context) { ...... })Commen...

Gin Vulnerabilty in python dependency

DescriptionVulnerability in packabe github.com/bytedance/sonic v1.8.8 . file bytedance/sonic/bench.py:26Improper Neutral...

Gin gin 1.7.4 has redirect issue

DescriptionWhen request to //interact.sh router, there is no request log and get 301 response. Expected return http stat...

Gin Context.HTML: Missing template import causes panic

DescriptionIf you forget to import a template, you get a panic - shouldn't this be caught and a useful message printed t...

Gin Gin runs on Port 3000 irrespective of Port number provided

Descriptiongin keeps starting on port 3000 even when I have port 8080 in the env file or if I do GIN_MODE=debug PORT=808...

Gin Don't allow to override response header

I have a specific situation where I don't want to let developer override response header if the header key matched.So, w...

Gin GitHub Actions job notification-gitter fails to succeed because webhooks.gitter.im does not resolve

DescriptionThe notification-gitter GitHub actions job fails to succeed because webhooks.gitter.im does not resolvehttps:...

Gin Closed streams should probably result in errors, not recovered panics.

Proof of Concept here: https://gist.github.com/scottmmjackson/c35f4609750d9c6907a464780e55097aAdding r.Use(gin.Recovery(...
上一页 下一页
.