Commit 3e16feb1 authored by astaxie's avatar astaxie

beego: fix flash errors

parent 82ca85dc
......@@ -64,7 +64,7 @@ func ReadFromRequest(c *Controller) *FlashData {
vals := strings.Split(v, "\x00")
for _, v := range vals {
if len(v) > 0 {
kv := strings.Split(v, FlashSeperator)
kv := strings.Split(v, "\x23"+FlashSeperator+"\x23")
if len(kv) == 2 {
flash.Data[kv[0]] = kv[1]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment