markdown: fix treating pure number as SHA1

- Detect non-exist commit and return 404 not 500
This commit is contained in:
Unknwon
2016-08-15 15:27:19 -07:00
parent 6c8fcb3af2
commit 4a46613916
5 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ github.com/go-xorm/core = commit:5bf745d
github.com/go-xorm/xorm = commit:c6c7056
github.com/gogits/chardet = commit:2404f77
github.com/gogits/cron = commit:7f3990a
github.com/gogits/git-module = commit:31d8d73
github.com/gogits/git-module = commit:2a820b5
github.com/gogits/go-gogs-client = commit:e363d3f
github.com/issue9/identicon = commit:d36b545
github.com/jaytaylor/html2text = commit:52d9b78