Bug#1036574: Unable to change submitter to addresses with non-7 bit characters
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.
--
Don Armstrong https://www.donarmstrong.com
If I had a letter, sealed it in a locked vault and hid the vault
somewhere in New York. Then told you to read the letter, thats not
security, thats obscurity. If I made a letter, sealed it in a vault,
gave you the blueprints of the vault, the combinations of 1000 other
vaults, access to the best lock smiths in the world, then told you to
read the letter, and you still can't, thats security.
-- Bruce Schneier
Reply to: