[MM-45309] Replace github.com/mattermost/gziphandler with github.com/klauspost/compress/gzhttp (#24293)

Этот коммит содержится в:
Ben Schumacher
2023-10-12 08:27:31 +02:00
коммит произвёл GitHub
родитель eb35e83152
Коммит e4fa6200c3
6 изменённых файлов: 19 добавлений и 24 удалений

Просмотреть файл

@@ -658,7 +658,7 @@ func getPostThread(c *Context, w http.ResponseWriter, r *http.Request) {
fromPost := r.URL.Query().Get("fromPost")
// Either only fromCreateAt must be set, or both fromPost and fromCreateAt must be set
if fromPost != "" && fromCreateAt == 0 {
c.SetInvalidParam("if fromPost is set, then fromCreatAt must also be set")
c.SetInvalidParam("if fromPost is set, then fromCreateAt must also be set")
return
}