Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Make addresses with comma(s) in the name roundtrip - #55

Merged
snipsnipsnip merged 1 commit into
exteditor:masterfrom
snipsnipsnip:address-with-comma-doesnt-roundtrip
Dec 24, 2019
Merged

snipsnipsnip merged 1 commit into
exteditor:masterfrom
snipsnipsnip:address-with-comma-doesnt-roundtrip

Conversation

@snipsnipsnip

@snipsnipsnip snipsnipsnip commented Dec 24, 2019 •

Copy link
Copy Markdown
Member

Fixes #54 the bug where address like ["To: foo, bar<[email protected]>"]
is broken apart as ["To: foo <>", "To: bar <[email protected]>"]
after editing in the external editor.
Quoting the name part like "foo, bar" <[email protected]> before
passing to external editor (which was the case before applying #46 :( )
saves them from split.

Fix the bug where address like ["To: foo, bar <[email protected]>"]
is broken apart as ["To: foo <>", "To: bar <[email protected]>"]
after editing in the external editor.
Quoting the name part like '"foo, bar" <[email protected]>' before
passing to external editor (which was the case before applying exteditor#46)
saves them from split.
@snipsnipsnip
snipsnipsnip merged commit e3532ea into exteditor:master Dec 24, 2019
@snipsnipsnip
snipsnipsnip deleted the address-with-comma-doesnt-roundtrip branch December 24, 2019 14:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commas inside addresses create wrong split upon return from editor

1 participant