]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_http_media_cache.c: Compare unaltered MIME types.
authorSean Bright <sean.bright@gmail.com>
Fri, 10 Sep 2021 14:40:00 +0000 (10:40 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 21 Sep 2021 18:08:04 +0000 (13:08 -0500)
commitff493d6f7d836ac1bab38ff6a11b1ea581543c40
tree7df7d95c69ac80bb93ce7f6de21a8a1969e90393
parenteb874f92db21ce1b788a5867874c8d8ef8ad0e81
res_http_media_cache.c: Compare unaltered MIME types.

Rather than stripping parameters from Content-Type headers before
comparison, first try to compare the whole string. If no match is
found, strip the parameters and try that way.

ASTERISK-29275 #close

Change-Id: I2963c8ecbb3a9605b78b6421c415108d77a66a0f
res/res_http_media_cache.c