Package: golang-github-gin-gonic-gin / 1.8.1-3

Metadata

Package Version Patches format
golang-github-gin-gonic-gin 1.8.1-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0003 avoid failures on flaky test.patch | (download)

path_test.go | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 avoid failures on flaky test

The TestPathCleanMallocs test fails sometimes (and could also be an
incentive for using -short), but Shengjing Zhu agrees we shouldn't
abort when that happens.

Replace the assert with a warning message if the results don't match
expectations, so that we still have access to this information if we
need it.

Suggested-by: Shengjing Zhu <zhsj@debian.org>
Signed-off-by: Cyril Brulebois <cyril@debamax.com>
0004 test suite add support for Go 1.19.patch | (download)

context_1.17_test.go | 4 2 + 2 - 0 !
context_1.19_test.go | 31 31 + 0 - 0 !
2 files changed, 33 insertions(+), 2 deletions(-)

 [patch] test suite: add support for go 1.19

Cherry-pick the new test file for Go 1.19 (from the mstmdev:support_go1.19
branch), and add build restrictions for the old test file (instead of
introducing functions checking the actual Go version).

Bug-Upstream: https://github.com/gin-gonic/gin/pull/3272


0005 fix lack of escaping filename in content disposition.patch | (download)

context.go | 8 7 + 1 - 0 !
context_test.go | 14 14 + 0 - 0 !
2 files changed, 21 insertions(+), 1 deletion(-)

 fix lack of escaping of filename in content-disposition
0006 add escape logic for header.patch | (download)

gin.go | 7 7 + 0 - 0 !
routes_test.go | 48 48 + 0 - 0 !
2 files changed, 55 insertions(+)

 add escape logic for header