File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ func (this *StaticController) Uploads() {
49
49
}
50
50
}
51
51
52
- if utils .IsSignUsed (sign ) {
52
+ if sign != "" && utils .IsSignUsed (sign ) {
53
53
this .Abort ("404" )
54
54
}
55
55
}
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ require (
27
27
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
28
28
github.com/russross/blackfriday v2.0.0+incompatible
29
29
github.com/satori/go.uuid v1.2.0 // indirect
30
+ github.com/shiena/ansicolor v0.0.0-20200904210342-c7312218db18 // indirect
30
31
github.com/smartystreets/goconvey v1.6.4 // indirect
31
32
github.com/stretchr/testify v1.6.1 // indirect
32
33
github.com/unknwon/com v1.0.1
Original file line number Diff line number Diff line change @@ -226,6 +226,8 @@ github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
226
226
github.com/satori/go.uuid v1.2.0 /go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0 =
227
227
github.com/shiena/ansicolor v0.0.0-20151119151921-a422bbe96644 h1:X+yvsM2yrEktyI+b2qND5gpH8YhURn0k8OCaeRnkINo =
228
228
github.com/shiena/ansicolor v0.0.0-20151119151921-a422bbe96644 /go.mod h1:nkxAfR/5quYxwPZhyDxgasBMnRtBZd0FCEpawpjMUFg =
229
+ github.com/shiena/ansicolor v0.0.0-20200904210342-c7312218db18 h1:DAYUYH5869yV94zvCES9F51oYtN5oGlwjxJJz7ZCnik =
230
+ github.com/shiena/ansicolor v0.0.0-20200904210342-c7312218db18 /go.mod h1:nkxAfR/5quYxwPZhyDxgasBMnRtBZd0FCEpawpjMUFg =
229
231
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo =
230
232
github.com/shurcooL/sanitized_anchor_name v1.0.0 /go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc =
231
233
github.com/siddontang/go v0.0.0-20170517070808-cb568a3e5cc0 /go.mod h1:3yhqj7WBBfRhbBlzyOC3gUxftwsU0u8gqevxwIHQpMw =
You can’t perform that action at this time.
0 commit comments