Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1279967
| From | Guillem Jover <guillem@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.dpkg |
| Subject | Bug#1126502: dpkg does not accept non-ascii chars in email address |
| Date | 2026-01-28 01:00 +0100 |
| Message-ID | <Mi18t-dOXy-1@gated-at.bofh.it> (permalink) |
| References | <Mi18t-dOXy-3@gated-at.bofh.it> <Mi18t-dOXy-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Hi!
On Tue, 2026-01-27 at 22:15:36 +0530, Nilesh Patra wrote:
> Package: dpkg
> Severity: important
> X-Debbugs-Cc: debian-lint-maint@lists.debian <mailto:debian-lint-maint@lists.debian>.org
> Control: affects -1 + src:lintian
> Version: 1.23.5
> Lintian’s test suite reflects this error:
>
> | dpkg-source: warning: --auto-commit is not a valid option for Dpkg::Source::Package::V3::Native
> | dpkg-source: error: cannot parse Maintainer field value "Colorful <"[31mc[32mo[33ml[34mo[35mr[36mf[37mu[96ml[0m"@43-1.org>”
> | dpkg-buildpackage: error: dpkg-source -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --auto-commit --before-build . subprocess failed with exit status 255
> | make: *** [/tmp/autopkgtest-lxc.18_8mz9y/downtmp/autopkgtest_tmp/build-and-evaluate-test-packages/package-sources/checks/fields/terminal-control/colorful/Makefile:39: colorful_1.0_amd64.changes] Error 255
Hmm, TBH I don't think I'm comfortable allowing ANSI escapes as part
of email addresses? This feels unnecessary and a recipe for terminal
exploits and similar.
> This is a fallout with #962277.
>
> dpkg should allow domains with non-ascii chars. For now I’ll try to
> drop this test from lintian test suite.
Otherwise the parser already supports UTF-8 characters in both the
local and domain parts:
$ perl -Mv5.40 -MDpkg::Email::Address -E '\
my $e = Dpkg::Email::Address->new("Foo Bar <föo\@bår.org>"); \
say $e->as_string(); \
'
Foo Bar <föo@bår.org>
So, I'm inclined to close this one.
Thanks,
Guillem
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1126502: dpkg does not accept non-ascii chars in email address Guillem Jover <guillem@debian.org> - 2026-01-28 01:00 +0100
Bug#1126502: dpkg does not accept non-ascii chars in email address Nilesh Patra <nilesh@patra.systems> - 2026-01-28 01:30 +0100
Bug#1126502: dpkg does not accept non-ascii chars in email address Louis-Philippe Véronneau <pollo@debian.org> - 2026-01-29 07:30 +0100
Bug#1126502: dpkg does not accept non-ascii chars in email address Guillem Jover <guillem@debian.org> - 2026-01-29 08:40 +0100
Bug#1126502: dpkg does not accept non-ascii chars in email address Nilesh Patra <nilesh@patra.systems> - 2026-01-29 16:40 +0100
Bug#1126502: dpkg does not accept non-ascii chars in email address Guillem Jover <guillem@debian.org> - 2026-01-30 00:00 +0100
csiph-web