New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for DelSp=Yes messages #5702
Conversation
This looks to me as incomplete. Did you forget about other changes or not implemented them yet? I see you added an argument to unfolding function, but I don't see changes in the code that uses it. |
Yes, you are right. |
I hope it works this time. Note that this PR is just for unfolding (receiving) "DelSp=Yes" messages, not for generating (sending) them. |
Looks good, but there are more places where delsp value need to be passed as an argument: |
Thanks again. |
* 'master' of https://github.com/roundcube/roundcubemail: (36 commits) Remove note about mail() function Update changelog Revert "extend plugin password to avoid sudo (use ssh instead calling chpasswd) (roundcube#5654)" Add Log to STDOUT Feature (roundcube#5721) extend plugin password to avoid sudo (use ssh instead calling chpasswd) (roundcube#5654) Fix bug where base_dn setting was ignored inside group_filters (roundcube#5720) Bump Net_Socket version Installer: Fix DB schema initialization on MS SQL Server Update to TinyMCE 4.5.6 Fix undesired effects when postgres database uses different timezone than PHP host (roundcube#5708) Fix bug where namespace prefix could not be truncated on folders list if show_real_foldernames=true (roundcube#5695) Fix (restore) Tab key behaviour in autocomplete popup (roundcube#5659) Fix regression in LDAP fuzzy search where it always used prefix search instead (roundcube#5713) Ignore js deps (roundcube#5704) Update changelog Add support for DelSp=Yes messages (roundcube#5702) Fix permission of temporary files and removal of them when generating thumbnails Remove redundant entry Fix require entry for crypt_gpg also in Enigma's composer.json Use jQuery 3.2.1 ...
Currently RCM can not handle
delsp=yes
messages correctly.When receiving a message with
format=flowed;delsp=yes
, RCM unfold the message body incorrectly.For example,
Round \r\nCube
is unfolded intoRound Cube
althoughRoundCube
is expected.Some MUAs, including Thunderbird (>45.0), generate MIME messages with "format=flowed;delsp=yes" by default if the charset is set to be ISO-2022-JP.
MIME option
delsp=yes
is specified in RFC 3676https://www.ietf.org/rfc/rfc3676.txt