fb78d83e by miraclesu

Merge branch 'master' of https://github.com/astaxie/beego into valid

2 parents d23700b9 f46388fa
...@@ -95,7 +95,7 @@ func (ctx *Context) SetCookie(name string, value string, others ...interface{}) ...@@ -95,7 +95,7 @@ func (ctx *Context) SetCookie(name string, value string, others ...interface{})
95 if len(others) > 4 { 95 if len(others) > 4 {
96 fmt.Fprintf(&b, "; HttpOnly") 96 fmt.Fprintf(&b, "; HttpOnly")
97 } 97 }
98 ctx.SetHeader("Set-Cookie", b.String(), true) 98 ctx.SetHeader("Set-Cookie", b.String(), false)
99 } 99 }
100 100
101 var cookieNameSanitizer = strings.NewReplacer("\n", "-", "\r", "-") 101 var cookieNameSanitizer = strings.NewReplacer("\n", "-", "\r", "-")
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!