Skip to content
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

decodeWord adds spaces at folding borders, when there are special characters encoded #4535

Closed
EdEgberts opened this issue Apr 22, 2024 · 0 comments
Assignees
Labels

Comments

@EdEgberts
Copy link

EdEgberts commented Apr 22, 2024

MessageHeader::decodeWord() adds spaces at folding borders, when there are special characters encoded. The attached file "decodeWord_Example.txt" contains the decodeWord-Code with an example string to show this behaviour and a patch, to prevent it (please look for "//<<< This is the patch:")

decodeWord_Example.txt

@EdEgberts EdEgberts added the bug label Apr 22, 2024
@EdEgberts EdEgberts changed the title debugWord adds spaces at folding borders, when there are special characters encoded decodeWord adds spaces at folding borders, when there are special characters encoded Apr 22, 2024
bas524 added a commit to bas524/poco that referenced this issue Apr 27, 2024
RFC 2047 decodeWord
@matejk matejk added this to the Release 1.14.0 milestone Apr 29, 2024
@matejk matejk added this to 1.14 Apr 29, 2024
@matejk matejk self-assigned this Apr 29, 2024
matejk pushed a commit that referenced this issue Apr 29, 2024
…e encoded words (#4542)

* fix bug #4535
RFC 2047 decodeWord

* modify logic
uses separate string which contains simbols between chunks and if this
string contains only space ot \n or \t or \v than trim it
@matejk matejk closed this as completed May 6, 2024
@github-project-automation github-project-automation bot moved this to Done in 1.14 May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants