mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 02:51:28 +00:00
fix the issue #1850,the source of the problem is PR #1805
This commit is contained in:
parent
ebdf4412b3
commit
885d45db05
2
error.go
2
error.go
@ -341,7 +341,7 @@ func responseError(rw http.ResponseWriter, r *http.Request, errCode int, errCont
|
|||||||
data := map[string]interface{}{
|
data := map[string]interface{}{
|
||||||
"Title": http.StatusText(errCode),
|
"Title": http.StatusText(errCode),
|
||||||
"BeegoVersion": VERSION,
|
"BeegoVersion": VERSION,
|
||||||
"Content": errContent,
|
"Content": template.HTML(errContent),
|
||||||
}
|
}
|
||||||
t.Execute(rw, data)
|
t.Execute(rw, data)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user