mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 00:45:22 +02:00
markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
This commit is contained in:
parent
6c8fcb3af2
commit
4a46613916
5 changed files with 13 additions and 4 deletions
|
@ -88,7 +88,7 @@ func checkVersion() {
|
|||
{"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"},
|
||||
{"gopkg.in/ini.v1", ini.Version, "1.8.4"},
|
||||
{"gopkg.in/macaron.v1", macaron.Version, "1.1.7"},
|
||||
{"github.com/gogits/git-module", git.Version, "0.3.5"},
|
||||
{"github.com/gogits/git-module", git.Version, "0.3.6"},
|
||||
{"github.com/gogits/go-gogs-client", gogs.Version, "0.12.0"},
|
||||
}
|
||||
for _, c := range checkers {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue