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

Pass non-ASCII address fields as is to the external editor - #46

Merged
snipsnipsnip merged 1 commit into
exteditor:masterfrom
snipsnipsnip:unescape-recipients
Oct 11, 2019
Merged

snipsnipsnip merged 1 commit into
exteditor:masterfrom
snipsnipsnip:unescape-recipients

Conversation

@snipsnipsnip

Copy link
Copy Markdown
Member

Fixes #44.

Comment thread chrome/content/exteditor.js Resolved
@snipsnipsnip snipsnipsnip changed the title Restore escaped non-ASCII address fields before launcing external editor Pass non-ASCII address fields as is to the external editor Oct 11, 2019
@snipsnipsnip
snipsnipsnip force-pushed the unescape-recipients branch 3 times, most recently from 61612ec to 6b53378 Compare October 11, 2019 15:24
@snipsnipsnip
snipsnipsnip merged commit 4e0f5f9 into exteditor:master Oct 11, 2019
@snipsnipsnip
snipsnipsnip deleted the unescape-recipients branch October 11, 2019 15:28
Comment thread chrome/content/exteditor.js Resolved
snipsnipsnip added a commit to snipsnipsnip/exteditor that referenced this pull request Oct 23, 2019
Currently, addresses on header editing are separated with comma only (which is a bit uncomfortable):
> To: [email protected],[email protected],[email protected]
Before exteditor#46, addresses were separated with comma and space like:
> To: [email protected], [email protected], [email protected]
This change restores that spaces between addresses.
snipsnipsnip added a commit to snipsnipsnip/exteditor that referenced this pull request Dec 24, 2019
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.
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.

Address field that have non-ASCII part is escaped needlessly

1 participant