Skip to content

Conversation

@stevemuskiewicz
Copy link
Contributor

@stevemuskiewicz stevemuskiewicz commented Dec 4, 2019

Fixes #4795: add -w 0 to base64 encoding of subject line to avoid line wrapping

Credit to @guzzijones for finding the fix here https://superuser.com/questions/1225134/why-does-the-base64-of-a-string-contain-n

@pull-request-size pull-request-size bot added the size/XS PR that changes 0-9 lines. Quick fix/merge. label Dec 4, 2019
@claassistantio
Copy link

claassistantio commented Dec 4, 2019

CLA assistant check
All committers have signed the CLA.

@arm4b arm4b added this to the 3.2.0 milestone Dec 4, 2019
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

Please add a changelog record for this fix in https://github.com/StackStorm/st2/blob/master/CHANGELOG.rst

Additionally, would be good to bump patch version of the core pack to 1.0.1 (https://github.com/StackStorm/st2/blob/master/contrib/core/pack.yaml).

@arm4b arm4b added the bug label Dec 4, 2019
CHANGELOG.rst Outdated
* Update ``st2 execution get`` command to always include ``context.user``, ``start_timestamp`` and
``end_timestamp`` attributes. (improvement) #4739

Contributed by @stevemuskiewicz and @guzzijones
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs to be moved not before, but after the actual changelog record to be part of the same block.

See how it looks like https://github.com/StackStorm/st2/blob/0fffbdf00cf4d547d254bb4319d6bb5fcb42e976/CHANGELOG.rst#fixed rendered.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wups, sorry about that. I'll fix

Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Looks good, thanks for contribution!

@arm4b arm4b changed the title #4795 fix for subject line wrapping #4795 fix 'core.sendmail' for subject line wrapping Dec 4, 2019
@arm4b arm4b merged commit f737c78 into StackStorm:master Dec 4, 2019
@stevemuskiewicz stevemuskiewicz deleted the issue-4795/core-sendmail-subj-enc branch December 4, 2019 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug size/XS PR that changes 0-9 lines. Quick fix/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

core.sendmail action UTF-8/base64 encoding doesn't handle longer subject lines properly

4 participants