]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
plugins/fts: Lower-case content types received from script parser
authorJosef 'Jeff' Sipek <jeff.sipek@open-xchange.com>
Mon, 9 Mar 2020 13:52:37 +0000 (09:52 -0400)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 10 Mar 2020 12:09:39 +0000 (12:09 +0000)
commit0090b656db9ca125b1088f57596a498debd0ef58
treee128d75eb2c29088dc90fbece5afee78dce7a8f1
parentb96c31c83da8e1edac094ed051f653b52fff7d8f
plugins/fts: Lower-case content types received from script parser

Later on during the execution, the script parser code does a strcmp() to
match the content type of the attachment with that returned by the script.
The content type from the mail is already lowercased.
src/plugins/fts/fts-parser-script.c