From 5129ed215e4258a3af13eef12c11c68c6073c5be Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 24 Oct 2018 09:59:07 -0400 Subject: [PATCH] vendor: update github.com/go-macaron/session (#5469) Fix security flaw reported by c957861129d62331c5704d2f04d11e41. --- vendor/github.com/go-macaron/session/session.go | 2 +- vendor/vendor.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vendor/github.com/go-macaron/session/session.go b/vendor/github.com/go-macaron/session/session.go index e17c5e743..d9bbae203 100644 --- a/vendor/github.com/go-macaron/session/session.go +++ b/vendor/github.com/go-macaron/session/session.go @@ -257,7 +257,7 @@ func (m *Manager) sessionID() string { func (m *Manager) Start(ctx *macaron.Context) (RawStore, error) { sid := ctx.GetCookie(m.opt.CookieName) if len(sid) > 0 && m.provider.Exist(sid) { - return m.provider.Read(sid) + return m.Read(sid) } sid = m.sessionID() diff --git a/vendor/vendor.json b/vendor/vendor.json index 69055a1a4..2116553ba 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -135,16 +135,16 @@ "revisionTime": "2016-06-27T17:00:12Z" }, { - "checksumSHA1": "DsbAcljMg4dSIIf6N/RJEJY6nTk=", + "checksumSHA1": "GKW4VF4zp39yj16pd412H9uZyCk=", "path": "github.com/go-macaron/session", - "revision": "487775536c781f5fd19b36c9421b79ba2b8a119d", - "revisionTime": "2018-10-24T13:41:25Z" + "revision": "330e4e4d8beb7b00111ac34539561f46f94c4458", + "revisionTime": "2018-10-24T13:54:22Z" }, { "checksumSHA1": "jVW5CmzplA0UDjai0AFYJFVXAJk=", "path": "github.com/go-macaron/session/redis", - "revision": "66031fcb37a0fff002a1f028eb0b3a815c78306b", - "revisionTime": "2015-10-14T03:41:01Z" + "revision": "330e4e4d8beb7b00111ac34539561f46f94c4458", + "revisionTime": "2018-10-24T13:54:22Z" }, { "checksumSHA1": "VMRkwnbl0mKWWvK/62CnIlv1oOg=",