harbor/src/pkg/notifier
Chlins Zhang 6216a1d1fe
[cherry-pick] fix: escape the event data for slack webhook payload (#18437)
fix: escape the event data for slack webhook payload

Escape the event data of slack webhook as original payload is invalid
when send to slack.

Fixes: #18423

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-03-30 09:58:18 +08:00
..
event lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
handler/notification [cherry-pick] fix: escape the event data for slack webhook payload (#18437) 2023-03-30 09:58:18 +08:00
model refactor notification (#14406) 2021-03-22 17:27:23 +08:00
topic move logger from common to lib 2020-04-02 14:09:03 +08:00
notification_handler.go refactor notification (#14406) 2021-03-22 17:27:23 +08:00
notifier_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
notifier.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00