Full_Name: Howard Chu
Submission from: (NULL) (22.214.171.124)
Submitted by: hyc
We were tripped up by a misbehaving syncrepl consumer, that was always
connecting as plain syncrepl even though it was intended to use delta-sync.
The config had been pasted out of an email and the mail client had turned some
(but not all) ASCII double-quotes into UTF-8 smart quotes. As such, the syncrepl
stanza ended at
and this wasn't flagged as an error because
1) the config parser doesn't care if double quotes get terminated or not
2) the syncrepl config parser doesn't look at logfilter if logbase wasn't
configured. The logbase token was swallowed up in the logfilter.
The parser should be fixed to reject lines with unbalanced quotes.