Browse Source

vendor: update github.com/go-macaron/session (#5469)

Fix security flaw reported by c957861129d62331c5704d2f04d11e41.
develop
Unknwon 6 years ago
parent
commit
5129ed215e
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      vendor/github.com/go-macaron/session/session.go
  2. 10
      vendor/vendor.json

2
vendor/github.com/go-macaron/session/session.go generated vendored

@ -257,7 +257,7 @@ func (m *Manager) sessionID() string {
func (m *Manager) Start(ctx *macaron.Context) (RawStore, error) { func (m *Manager) Start(ctx *macaron.Context) (RawStore, error) {
sid := ctx.GetCookie(m.opt.CookieName) sid := ctx.GetCookie(m.opt.CookieName)
if len(sid) > 0 && m.provider.Exist(sid) { if len(sid) > 0 && m.provider.Exist(sid) {
return m.provider.Read(sid) return m.Read(sid)
} }
sid = m.sessionID() sid = m.sessionID()

10
vendor/vendor.json vendored

@ -135,16 +135,16 @@
"revisionTime": "2016-06-27T17:00:12Z" "revisionTime": "2016-06-27T17:00:12Z"
}, },
{ {
"checksumSHA1": "DsbAcljMg4dSIIf6N/RJEJY6nTk=", "checksumSHA1": "GKW4VF4zp39yj16pd412H9uZyCk=",
"path": "github.com/go-macaron/session", "path": "github.com/go-macaron/session",
"revision": "487775536c781f5fd19b36c9421b79ba2b8a119d", "revision": "330e4e4d8beb7b00111ac34539561f46f94c4458",
"revisionTime": "2018-10-24T13:41:25Z" "revisionTime": "2018-10-24T13:54:22Z"
}, },
{ {
"checksumSHA1": "jVW5CmzplA0UDjai0AFYJFVXAJk=", "checksumSHA1": "jVW5CmzplA0UDjai0AFYJFVXAJk=",
"path": "github.com/go-macaron/session/redis", "path": "github.com/go-macaron/session/redis",
"revision": "66031fcb37a0fff002a1f028eb0b3a815c78306b", "revision": "330e4e4d8beb7b00111ac34539561f46f94c4458",
"revisionTime": "2015-10-14T03:41:01Z" "revisionTime": "2018-10-24T13:54:22Z"
}, },
{ {
"checksumSHA1": "VMRkwnbl0mKWWvK/62CnIlv1oOg=", "checksumSHA1": "VMRkwnbl0mKWWvK/62CnIlv1oOg=",

Loading…
Cancel
Save