]> git.ipfire.org Git - thirdparty/curl.git/commit
mime: properly check Content-Type even if it has parameters
authorPatrick Monnerat <patrick@monnerat.net>
Sat, 18 Apr 2020 14:50:20 +0000 (16:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 19 Apr 2020 18:52:48 +0000 (20:52 +0200)
commitd7471c136901e1955547a20d7bfa126d47d81b56
tree2e0d68157313e764482a187b7b48379ffe09a538
parent7e53974603079a9522acdb10f3b4de499ffa6e4d
mime: properly check Content-Type even if it has parameters

New test 669 checks this fix is effective.

Fixes #5256
Closes #5258
Reported-by: thanhchungbtc on github
lib/mime.c
tests/data/Makefile.inc
tests/data/test669 [new file with mode: 0644]