diff options
author | Alex Polozov <apskim@users.noreply.github.com> | 2016-01-05 18:54:23 -0800 |
---|---|---|
committer | Alex Polozov <polozov@cs.washington.edu> | 2016-01-06 02:58:27 +0000 |
commit | 23a8d954d9c18de6dc6187ba9af7539e81b33d91 (patch) | |
tree | c1272edcfad7e1a986bc54c3e9253bd918c88542 /web/templates/welcome.html | |
parent | 482158d2bbc59be80e916bd2197f0fc609d9bc73 (diff) | |
download | chat-23a8d954d9c18de6dc6187ba9af7539e81b33d91.tar.gz chat-23a8d954d9c18de6dc6187ba9af7539e81b33d91.tar.bz2 chat-23a8d954d9c18de6dc6187ba9af7539e81b33d91.zip |
[Fix #1669] Allow parameters in Content-Type of incoming webhook request
Mattermost currently does not allow optional parameters in the `Content-Type` of an incoming webhook request. Visual Studio Team Services's Slack integration sends its message with `Content-Type: application/json; charset=utf-8`, whereas Mattermost currently requires precisely `Content-Type: application/json`. This PR relaxes this check, looking only at the media part of the header.
Diffstat (limited to 'web/templates/welcome.html')
0 files changed, 0 insertions, 0 deletions