Gin Fail to POST when omitting slash at the end with asterisk path parameter

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

Gin [Question] gin v1.8.0 & v1.8.1 context canceled handling when user interrupt their requests

Descriptiongin introduces context fallback logic in v1.8.0. There a lot of DB query / cache query operation in our HTTP ...

Gin Why were the patch versions for CVE-2020-28483 released so late?

We are a research team dedicated to Golang, have discovered that CVE-2020-28483 was addressed in commit 5929d521715610c9...

Gin Query: Prevent client from using insecureskipverify flag

DescriptionHow can we prevent client from using the insecureskipverify flag.Comment From: kaylee595The server cannot dir...

Gin ShouldBindJSON method any way to auto convert type problem?

Is there anyway to auto convert base type? such as string to int64 int32...in fact, this problem easy implemently? Comme...

Gin Should bindxxx be tagged with a deprecation label?

DescriptionWhen I use Bind to parse a parameter with an error, c.JSON responds to the data without a Content-Type.It is ...

Gin fatal error: concurrent map read and map write

Descriptionfatal error: concurrent map read and map writegoroutine 4030 [running]:github.com/gin-gonic/gin/binding.setBy...

Gin If method loading html files from embed.FS type could be helpful??

First of all, thank you for creating a very useful framework !!Recently, I found out that the gin framework cannot load ...

Gin Cannot use primitive.ObjectId as a type with the form binding

How to reproducepackage mainimport ( "github.com/gin-gonic/gin" "go.mongodb.org/mongo-driver/bson&q...

Gin Unable to establish service listening

I use r.Run to open server , but I found it's will not open server!this is my code:main.go`func main() { interfaceAdd...

Gin Reverse route generation

I would like to help in adding the ability for routes to be named in the router and then reconstructed elsewhere in the ...

Gin How Can I BindJson With time_format

With issues:The Following Code Is PanicIt Always Using Default Time Layout "2006-01-02T15:04:05Z07:00"Error Msg is "pani...

Gin The problem with splitting tests into separate files

DescriptionI have written a large number of tests for my API in one file, and everything works fine there. Now I want to...

Gin How to use early-return (guard clause)?

func main() { r := gin.Default() r.GET("/test", func(c *gin.Context) { if someCondition { ...

Gin Wildcard parameter incorrectly decodes URIs recursively

go version: 1.12gin version (or commit ref): 1.3.0DescriptionI have a route defined like this:appRt.GET("/*request&...

Gin Add a security policy

Hello 👋I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@dimasma0305) has found a p...

Gin Improper sanitization in JSONP can lead to potential security risk.

DescriptionDuring experimentation with various web frameworks, I discovered a potential security vulnerability with the ...

Gin Request body print does not work on custom logger.

With issues:custom loggerDescriptionWhat I would expect is to log the body data of the request if the method of the requ...

Gin Remove the new trustedproxy logic from client ip parsing

DescriptionWe really need a way to disable this and go back to the original logic of trusting proxies. My stuff is behin...

Gin How to bundle templates and assets in golang. It doesn't seem to work for me

DescriptionI am following a book Building Distributed Applications in Gin by Mohamed Labouardy . In the book was introd...
上一页 下一页
.