fix #1119 and data race in timming tasks

This commit is contained in:
Unknwon committed 2015-11-20 00:47:35 -05:00
1 parent 9bcc3c1ea3
commit 3d14e73fd8
3 files changed
+75 -16

No files matched your search

+3
View File
@@ -319,6 +319,9 @@ func Profile(ctx *middleware.Context) {
if uname == "favicon.ico" {
ctx.Redirect(setting.AppSubUrl + "/img/favicon.png")
return
} else if strings.HasSuffix(uname, ".png") {
ctx.Error(404)
return
}
isShowKeys := false