mirror of
https://github.com/astaxie/beego.git
synced 2024-11-10 20:30:54 +00:00
Merge pull request #1858 from ysqi/issue
fix the issue #1850,the source of the problem is PR #1805
This commit is contained in:
commit
933ac0f369
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