[Bug 1169160] [NEW] cron: non-canonical MIME charset used in mail

Malcolm Scott launchpad at malc.org.uk
Mon Apr 15 12:14:37 UTC 2013


Public bug reported:

cron sends mail with the following header:

  Content-Type: text/plain; charset=ANSI_X3.4-1968

This is a non-canonical alias for the preferred charset name "us-ascii"
[1].  A previous changelog entry (for 3.0pl1-101) states that this was
previously fixed:

    - Do not use ANSI_x3.4-1968 but US-ASCII instead since it is the preferred
      MIME name as per http://www.iana.org/assignments/character-sets"
      (Closes: #415302)

However the code to do this translation is not currently working due to
an incorrect assumption about the case of nl_langinfo's output (it
currently returns "ANSI_X3.4-1968", whereas the code checks case-
sensitively for "ANSI_x3.4-1968").

[1] http://www.iana.org/assignments/character-sets/character-sets.xml

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cron 3.0pl1-120ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-38.61-generic 3.2.37
Uname: Linux 3.2.0-38-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Mon Apr 15 13:03:04 2013
MarkForUpload: True
ProcEnviron:
 TERM=screen-bce
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: cron
UpgradeStatus: Upgraded to precise on 2013-01-10 (94 days ago)
modified.conffile..etc.crontab: [modified]
mtime.conffile..etc.crontab: 2013-04-14T09:07:44.212020

** Affects: cron (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1169160

Title:
  cron: non-canonical MIME charset used in mail

Status in “cron” package in Ubuntu:
  New

Bug description:
  cron sends mail with the following header:

    Content-Type: text/plain; charset=ANSI_X3.4-1968

  This is a non-canonical alias for the preferred charset name "us-
  ascii" [1].  A previous changelog entry (for 3.0pl1-101) states that
  this was previously fixed:

      - Do not use ANSI_x3.4-1968 but US-ASCII instead since it is the preferred
        MIME name as per http://www.iana.org/assignments/character-sets"
        (Closes: #415302)

  However the code to do this translation is not currently working due
  to an incorrect assumption about the case of nl_langinfo's output (it
  currently returns "ANSI_X3.4-1968", whereas the code checks case-
  sensitively for "ANSI_x3.4-1968").

  [1] http://www.iana.org/assignments/character-sets/character-sets.xml

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cron 3.0pl1-120ubuntu4
  ProcVersionSignature: Ubuntu 3.2.0-38.61-generic 3.2.37
  Uname: Linux 3.2.0-38-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  Date: Mon Apr 15 13:03:04 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=screen-bce
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: cron
  UpgradeStatus: Upgraded to precise on 2013-01-10 (94 days ago)
  modified.conffile..etc.crontab: [modified]
  mtime.conffile..etc.crontab: 2013-04-14T09:07:44.212020

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1169160/+subscriptions




More information about the foundations-bugs mailing list