slack notification messages not escaped
apparently []
need to be escaped when posting via slack webhook
GitLab APP glen opened [!37 *do things [DVID-102]*](https://gitlab.example.net/group/project/merge_requests/37) in group/project: *do things [DVID-102]*
should be:
GitLab APP glen opened !37 do things [DVID-102] in group/project: do things [DVID-102]
the examples are text only putput, what i see in slack chat, as you see unescaped []
makes whole slack formatting passing it as is.
slack docks: https://api.slack.com/docs/message-formatting
to reproduce:
- configure slack hook
- create message that contains
[]
in it (mr with such title or commit message)
Edited by Elan Ruusamäe