mime: properly check Content-Type even if it has parameters 01/234701/1 accepted/tizen/base/20200608.211016 submit/tizen_base/20200601.000728
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 28 May 2020 05:23:01 +0000 (14:23 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 28 May 2020 05:38:51 +0000 (14:38 +0900)
commit6f6c085af2495c03fdeb617363e2257d9d66eb33
treeae72a13f8df5d614ad30515100e77a1dd75277a7
parentf6694716487a068d2cd005fb820401baa7c67097
mime: properly check Content-Type even if it has parameters

New test 669 checks this fix is effective.

Fixes #5256
Reported-by: thanhchungbtc on github
https://github.com/curl/curl/pull/5258/commits/96819869a975277308ef88b256f9ab9b788091f5

Change-Id: Icc77c1f01a859cb821dccc5a9cb1003e4e166117
lib/mime.c
tests/data/Makefile.inc
tests/data/test669 [new file with mode: 0644]