kataras / kataras/iris

how to disable golang.org/issue/25192 message?

Open
#1,875 3 comments 0 reactions 1 assignee Claimed by @kataras View on GitHub
🏋️‍♀️ type:task 🚀 status:implemented 🪶 type: feature
Dominant language
Go
Stars
25.6k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

my url == http://127.0.0.1:8879/test?cmd=2330,0;

func main() {
appIris := iris.New()
appIris.Get("/test", func(ctx iris.Context) {
testParam(ctx)
})
appIris.Run(iris.Addr(8879) /* 0.*/, iris.WithPostMaxMemory(maxSize))
}

func testParam(ctx iris.Context) {
fmt.Println("testParam : ", ctx.Request().URL.RawQuery)
}

always show message
[HTTP Server] http: URL query contains semicolon, which is no longer a supported separator; parts of the query may be stripped when parsed; see golang.org/issue/25192

need to fix or disable it

thanks ~

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.