<font size="2"><font face="georgia,serif">Your back-end is emitting this broken header, but you seem to expect both nginx and Varnish to understand it.  This isn't a bug in nginx, this is an unfixable behavior problem of your backend, IMHO.<br clear="all">

</font></font><div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif">Also, your regex is seemingly replacing ",\s+" with ", ", which is essentially a NOP.  The regex does not (and cannot) address the spurious newline -- NL is not in \s, and the regex is not multi-line.</font></div>

<div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif">Finally, this is definitely not a Varnish bug.  Perhaps the code in your app or plone is manually adding the errant NL.</font></div><div>
<font face="georgia, serif">-- </font><div>
<font face="georgia, serif">kb</font></div><br>
<br><br><div class="gmail_quote">On Mon, Apr 18, 2011 at 07:58, Varnish <span dir="ltr"><<a href="mailto:varnish-bugs@varnish-cache.org">varnish-bugs@varnish-cache.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div id=":3x0"> 9 RxHeader     b Vary: X-Anonymous,<br>
 9 RxHeader     b    Accept-Encoding<br></div></blockquote></div><br></div>