Re: charset; logical OR on filtering; list of dates

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Tue, May 11, 2021 at 07:07:50PM -0400, John P. Rouillard wrote:
> Does changing the type property of the file to:
> 
>   text/plain; charset=UTF-8
> 
> result in sending an octet-stream? I think the type even though it's a
> string is sanitized to a list of known types for security. I don't
> remember seeing any other value used other than a plain mime type.

I think only text/html is sanitized due to security, not text/plain, so
setting the type of the file to the string above *should* work. If not,
it should be easy to implement as John already pointed out.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.