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 { ...@@ -64,7 +64,7 @@ func ReadFromRequest(c *Controller) *FlashData {
64 vals := strings.Split(v, "\x00") 64 vals := strings.Split(v, "\x00")
65 for _, v := range vals { 65 for _, v := range vals {
66 if len(v) > 0 { 66 if len(v) > 0 {
67 kv := strings.Split(v, FlashSeperator) 67 kv := strings.Split(v, "\x23"+FlashSeperator+"\x23")
68 if len(kv) == 2 { 68 if len(kv) == 2 {
69 flash.Data[kv[0]] = kv[1] 69 flash.Data[kv[0]] = kv[1]
70 } 70 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!