Bug 1494559 - mailx is not properly encoding multibyte subjects
Summary: mailx is not properly encoding multibyte subjects
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mailx
Version: 25
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-22 13:45 UTC by Nikola Forró
Modified: 2017-11-22 16:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-22 16:28:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nikola Forró 2017-09-22 13:45:34 UTC
Description of problem:
mailx is not encoding long multibyte subjects properly. Specifically it
contradicts the following RFC 2047 statement:

Each 'encoded-word' MUST represent an integral number of characters.
A multi-octet character may not be split across adjacent 'encoded-word's.


Version-Release number of selected component (if applicable):
mailx-12.5-19.fc24


How reproducible:
always


Steps to Reproduce:
1. $ echo test | mailx -s $(printf "\357\274\221\357\274\222\357\274\223\357\274\224\357\274\225\357\274\226\357\274\227\357\274\230\357\274\231\357\274\220\357\274\221\357\274\222\357\274\223") testuser@localhost
2. $ mailx -u testuser


Actual results:
>N  1 testuser Fri Sep 22 13:07  21/693   "12345678901???3"


Expected results:
>N  1 testuser Fri Sep 22 13:07  21/693   "1234567890123"

Comment 2 Fedora Update System 2017-09-22 14:18:27 UTC
mailx-12.5-23.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f4036b1131

Comment 3 Fedora Update System 2017-09-22 14:18:32 UTC
mailx-12.5-23.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e36dc3f478

Comment 4 Fedora Update System 2017-09-22 14:18:37 UTC
mailx-12.5-23.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a3cc30fa29

Comment 5 Fedora Update System 2017-09-22 17:56:18 UTC
mailx-12.5-23.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e36dc3f478

Comment 6 Fedora Update System 2017-09-23 00:29:32 UTC
mailx-12.5-23.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a3cc30fa29

Comment 7 Fedora Update System 2017-09-23 02:26:14 UTC
mailx-12.5-23.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f4036b1131

Comment 8 Fedora Update System 2017-10-02 14:22:33 UTC
mailx-12.5-23.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2017-10-02 16:21:13 UTC
mailx-12.5-23.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2017-10-04 21:49:32 UTC
mailx-12.5-23.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora End Of Life 2017-11-16 19:45:34 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.


Note You need to log in before you can comment on or make changes to this bug.