Bug#400294: exim4-config: Should not allow non-ASCII characters in /etc/mailname (and maybe in some other values)

Marc Haber mh+debian-packages at zugschlus.de
Sat Nov 25 10:42:17 UTC 2006


tags #400294 confirmed
thanks

On Sat, Nov 25, 2006 at 01:54:08AM +0100, Javier Fernández-Sanguino Peña wrote:
> Exim4-config fails to detect if a user introduced non-ASCII characters
> in the debconf prompt that might lead to an impromer /etc/mailname being
> automatically generated on postinst.

Bad.

> I don't think that exim4-config should allow non-ASCII characters in answer
> to his configuration questions for the local mailname and other values.

Agreed. We're going to introduce basic input sanitazion post-etch.
Sorry, but this is simply too late for etch now.

> Maybe this should be something requested of Debconf prompts as they
> cannot handle non-ASCII information. Maybe a new 'string-ascii' type should
> be selected that made Debconf printout an error (and remade the question) if
> the user introduced invalid characteres there.  I envision that many Debconf
> questions cannot handle non-ASCII information and asking maintainer scripts
> to code in that detection would be maybe too much. If you agree, please
> reassign this bug to Debconf.

Filed as #400316.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-exim4-maintainers mailing list