Bug#1036574: Unable to change submitter to addresses with non-7 bit characters

Don Armstrong <[email protected]> Mon, 22 May 2023 16:19:29 -0700
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <20230522231929.koifb6fgs22dfnmh__38802.2658460372$1684798059$gmane$org@qor.donarmstrong.com>
Package: debbugs
Severity: normal
Version: 2.6.0


On Sat, 20 May 2023, José Luis González wrote:
> I'm trying to change the email address of my old reports to my current
> one but control is rejecting. It incorrectly claims my address is not
> valid.
> 
> I suspect the problem is there's now an issue with ! either when the
> From is not just an address but in the form Name <address>, or Name has
> non-ascii characters. This used to be perfectly fine.

Yeah, the issue is a bug in debbugs; we don't encode the e-mail address
before we check for its validity.

not Mail::RFC822::Address::valid($param{submitter}) should read
not Mail::RFC822::Address::valid(encode_rfc1522($param{submitter}))

Thanks for the report.