MM-29067 Add deterministic IDs for default sidebar categories (#16030)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
28983fa88d
Коммит
8bb772638c
@@ -301,7 +301,7 @@ func (c *Context) RequireCategoryId() *Context {
|
||||
return c
|
||||
}
|
||||
|
||||
if len(c.Params.CategoryId) != 26 {
|
||||
if !model.IsValidCategoryId(c.Params.CategoryId) {
|
||||
c.SetInvalidUrlParam("category_id")
|
||||
}
|
||||
return c
|
||||
|
||||
Ссылка в новой задаче
Block a user