arshidkv12 / contact-form-cfdb7

Database addon for Contact Form 7 WordPress plugin. Save and manage Contact Form 7 messages.
https://ciphercoin.com
GNU Affero General Public License v3.0
13 stars 28 forks source link

UTF-8 is an invalid value for the Content-Encoding header #35

Open DinoChiesa opened 1 year ago

DinoChiesa commented 1 year ago

https://github.com/arshidkv12/contact-form-cfdb7/blob/7bb39c3903bbbe2548f8a664fc3b2318ce4ec1af/inc/export-csv.php#L24C37-L24C37

UTF-8 is never a valid value for Content-Encoding. So this line surely is in error.

The nearby lines that repeatedly set Content-Type to three distinct values... are also wrong. There should be one Content-Type. But that is a separate bug.