WordPress.org

Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#51885 new defect (bug)

Extra space in subject line - plugin auto update

Reported by: 22-7ths Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.5.3
Component: Mail Keywords: needs-testing
Focuses: administration Cc:

Description

Keep receiving email in this manner:

ASCII based/quotedp

Subject: =?us-ascii?Q?[LONGER-SITENAME]_Some_plugins_were_automat?=  =?us-ascii?Q?ically_updated?=

Result (in Thunderbird):

[LONGER-SITENAME] Some plugins were automat ically updated

--

UTF Based/quotedp

Subject: =?UTF-8?Q?[SHORTER-SITENAME]_Some_plugins_were_auto?=  =?UTF-8?Q?matically_updated?=

Result:

[SITENAME] Some plugins were auto matically updated



So, the result in both cases (regardless of UTF, or ASCII encoding) is to add a space that shouldn't be there.

I will try disabling plugins if this isn't reproducible - but the sites only use phpmailer afaik - no smtp plugins, or the like.

Change History (4)

#1 @22-7ths
10 months ago

  • Focuses administration added
  • Summary changed from Random space in subject line - plugin auto update to Extra space in subject line - plugin auto update

#2 @22-7ths
10 months ago

Note:
This subject line DOES decode/show properly w/o the space when using an online decoder or Outlook.

Though, I'm not sure why it has a break in encoding in middle of the word 'automatically'.
Still seems like an issue?

So far, only Thunderbird and the "Webmail" we use show the extra space.

#3 follow-up: @ayeshrajans
10 months ago

Are you using PHP 8.0, or Windows by any chance? There were some changes in PHPMailer with header line-end handling, that I remotely associate might be the cause.

#4 in reply to: ↑ 3 @22-7ths
10 months ago

Replying to ayeshrajans:

Are you using PHP 8.0, or Windows by any chance? There were some changes in PHPMailer with header line-end handling, that I remotely associate might be the cause.

Thanks, but nope -

phpinfo() -

PHP Version 7.4.12
System	Linux (my_hostname) 4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64
Build Date	Oct 31 2020 17:04:09
Server API	FPM/FastCGI
Note: See TracTickets for help on using tickets.