Suggest: return test #8

Open
opened 2020-08-03 16:28:11 +00:00 by a1012112796 · 1 comment
Member

Maybe we need to add some checks to find problems similar to https://github.com/go-gitea/gitea/pull/12420

Which means should return after ctx.Redirect, ctx.ServerError, and so on , if it's not the end of function.
Or sometimes, these small nits will make dangerous security bugs.

Maybe we need to add some checks to find problems similar to https://github.com/go-gitea/gitea/pull/12420 Which means should return after ctx.Redirect, ctx.ServerError, and so on , if it's not the end of function. Or sometimes, these small nits will make dangerous security bugs.
a1012112796 changed title from Suggest: to Suggest: return test 2020-08-03 16:29:01 +00:00
Author
Member

@lunny When I entered the title of this issue, I accidentally pressed the enter key and the issue was submitted, which seems a little unreasonable...

@lunny When I entered the title of this issue, I accidentally pressed the enter key and the issue was submitted, which seems a little unreasonable...
lunny added the
enhancement
label 2020-08-04 08:19:06 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/gitea-vet#8
No description provided.