[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Formatting algorithm, an experiment

From: Steffen Nurpmeso
Subject: Re: [Groff] Formatting algorithm, an experiment
Date: Fri, 27 Jun 2014 11:11:02 +0200
User-agent: s-nail v14.7.1

Hello Ralph,

Ralph Corderoy <address@hidden> wrote:
 |Hi Peter,
 |>> which
 |> The .bin extension issue for attachments in archived email has come up
 |> before.  Does anyone know why is doing this and whether
 |> there'd be any point trying to get it fixed?
 |It's to protect users on systems that might execute it as a program
 |willy-nilly, e.g. Microsoft.
 |says how Mailman looks up the MIME part's content-type to see if it's
 |known.  The email used
 |    Content-Type: application/x-tar-gz
 |    Content-Disposition: attachment; filename="distribute.tgz"
 |    Content-Transfer-Encoding: base64
 |and application/x-tar-gz isn't in
 |  The closest is
 | which
 |leaves the tar for the user to fathom out if left to MIME types alone.

I found that [1] is a good place to look for "a complete list" of
IANA registered and unregistered MIME types but which are used in
practice (i use that for the mailer i maintain), and it lists the
extension tgz regulary thereunder

  <mime-type type="application/gzip">
    <_comment>Gzip Compressed Archive</_comment>
    <alias type="application/x-gzip"/>
    <alias type="application/x-gunzip"/>
    <alias type="application/gzip-compressed"/>
    <alias type="application/gzipped"/>
    <alias type="application/gzip-compressed"/>
    <alias type="application/x-gzip-compressed"/>
    <alias type="gzip/document"/>
    <magic priority="45">
      <match value="\037\213" type="string" offset="0" />
      <match value="\x1f\x8b" type="string" offset="0" />
    <glob pattern="*.tgz" />
    <glob pattern="*.gz" />
    <glob pattern="*-gz" />
    <glob pattern="*.emz" />

  [1] <\


reply via email to

[Prev in Thread] Current Thread [Next in Thread]