Skip to content

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

Merged
dscho merged 1 commit into
gitgitgadget:masterfrom
dscho:prevent-double-double-quote
Nov 13, 2019
Merged

Fix the "double double quotes" problem in the "<author> via GitGitGadget" From: lines#142
dscho merged 1 commit into
gitgitgadget:masterfrom
dscho:prevent-double-double-quote

Conversation

@dscho

@dscho dscho commented Nov 12, 2019

Copy link
Copy Markdown
Member

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 <[email protected]>
@dscho
dscho requested a review from webstech November 12, 2019 15:25
Comment thread lib/patch-series.ts
@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.

2 participants