Gabriel Vasile
2e8fc5b034
MIME types can have multiple optional parameters, eg: video/webm; codecs="w/e codec"; charset="binary" This commit replaces the usage of regex for getting the "type/subtype" with mime.ParseMediaType. |
2 years ago | |
---|---|---|
.. | ||
upload.go | Replace regex usage for MIME parsing (#17831) | 2 years ago |
upload_test.go | Attachments: Add extension support, allow all types for releases (#12465) | 3 years ago |