[MM-61079] Fix error checking in webhook.go (#30611)

* MM-28751 Fix error checking in webhook.go

- Implement proper error checking for r.ParseForm()
- Implement proper error checking for r.ParseMultipartForm()
- Implement proper error checking for w.Write()
- Remove webhook.go exception from .golangci.yml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix translation

---------

Co-authored-by: Claude <noreply@anthropic.com>
Этот коммит содержится в:
Ben Schumacher
2025-04-11 12:17:43 +02:00
коммит произвёл GitHub
родитель 2e2782e4bf
Коммит 545de88486
3 изменённых файлов: 25 добавлений и 5 удалений

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

@@ -165,7 +165,6 @@ issues:
channels/web/oauth_test.go|\
channels/web/saml.go|\
channels/web/web_test.go|\
channels/web/webhook.go|\
cmd/mattermost/commands/cmdtestlib.go|\
cmd/mattermost/commands/db.go|\
cmd/mattermost/commands/export.go|\