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

Fix the "double double quotes" problem in the "<author> via GitGitGadget" From: lines #142

Merged
merged 1 commit into from
Nov 13, 2019

Conversation

dscho
Copy link
Member

@dscho dscho commented Nov 12, 2019

This will hopefully prevent problems like the one that prevented gitgitgadget/git#435 from arriving at the Git mailing list.

We correctly enclose "<author> via GitGitGadget" in double quotes, but
if <author> already contained double quotes (e.g. because it contains
dots), we failed to strip/escape them.

This prevented gitgitgadget/git#435 from being
sent correctly (it was sent all right, but the Git mailing list dropped
the mails unceremoniously).

Let's handle this correctly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho requested a review from webstech November 12, 2019 15:25
@dscho dscho merged commit 93093e3 into gitgitgadget:master Nov 13, 2019
@dscho dscho deleted the prevent-double-double-quote branch November 13, 2019 10:22
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.

None yet

2 participants