Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make email name quoting more complete#99

Merged
dscho merged 1 commit intogitgitgadget:mastergitgitgadget/gitgitgadget:masterfrom
dscho:brian-m-carlsondscho/gitgitgadget:brian-m-carlsonCopy head branch name to clipboard
Nov 13, 2019
Merged

Make email name quoting more complete#99
dscho merged 1 commit intogitgitgadget:mastergitgitgadget/gitgitgadget:masterfrom
dscho:brian-m-carlsondscho/gitgitgadget:brian-m-carlsonCopy head branch name to clipboard

Conversation

@dscho
Copy link
Member

@dscho dscho commented Jun 28, 2019

This PR tries to address the shortcomings pointed out in #98 (comment).

@dscho dscho requested a review from sunshineco June 28, 2019 12:21
Copy link
Contributor

@derrickstolee derrickstolee left a comment

Choose a reason for hiding this comment

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

Do you have a test to check the "Don't quote if already quoted" logic?

Copy link

@sunshineco sunshineco left a comment

Choose a reason for hiding this comment

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

I left some comments in the patch itself.

lib/patch-series.ts Outdated Show resolved Hide resolved
lib/patch-series.ts Show resolved Hide resolved
lib/patch-series.ts Outdated Show resolved Hide resolved
@dscho
Copy link
Member Author

dscho commented Nov 13, 2019

Do you have a test to check the "Don't quote if already quoted" logic?

Now I do ;-)

According to https://tools.ietf.org/html/rfc2822#section-3.2.1, there
are more special characters that require the name in an email address to
be quoted.

Pointed out by Eric Sunshine.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho merged commit ca10fe2 into gitgitgadget:master Nov 13, 2019
@dscho dscho deleted the brian-m-carlson branch November 13, 2019 22:42
@dscho dscho mentioned this pull request Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.