We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d082d9 commit b7c39dfCopy full SHA for b7c39df
context.go
@@ -297,7 +297,8 @@ func (ctx *Context) GetCookie(name string) string {
297
if err != nil {
298
return ""
299
}
300
- return cookie.Value
+ val, _ := url.QueryUnescape(cookie.Value)
301
+ return val
302
303
304
// GetCookieInt returns cookie result in int type.
macaron.go
@@ -29,7 +29,7 @@ import (
29
"github.com/Unknwon/macaron/inject"
30
)
31
32
-const _VERSION = "0.4.9.1228"
+const _VERSION = "0.4.9.1229"
33
34
func Version() string {
35
return _VERSION
0 commit comments