summaryrefslogtreecommitdiffstats
path: root/api/user.go
diff options
context:
space:
mode:
authorAlex Polozov <apskim@users.noreply.github.com>2016-01-05 18:54:23 -0800
committerAlex Polozov <polozov@cs.washington.edu>2016-01-06 02:58:27 +0000
commit23a8d954d9c18de6dc6187ba9af7539e81b33d91 (patch)
treec1272edcfad7e1a986bc54c3e9253bd918c88542 /api/user.go
parent482158d2bbc59be80e916bd2197f0fc609d9bc73 (diff)
downloadchat-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 'api/user.go')
0 files changed, 0 insertions, 0 deletions