3e16feb1 by astaxie

beego: fix flash errors

1 parent 82ca85dc
Showing 1 changed file with 1 additions and 1 deletions
......@@ -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]
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!