On Thu Jan 06 15:24:33 2011, ntyni@iki.fi wrote:
Show quoted text> Since 3.49, this has been documented to work:
>
> like(CGI::header( -ingredients => "ham\neggs\nbacon" ),
> qr#Ingredients: ham\n eggs\n bacon#)
>
> However, it broke with 3.50 which doesn't add the leading spaces
> anymore, and 3.51, which bails out with "Invalid header value contains
a
Show quoted text> newline not followed by whitespace".
Thanks for the report. I think the plan at this point is to update the
documentation to quit declaring that this works. This incompatible
change should have been highlighted better in the Changes file.
Initially, we wanted to support values like, but it was more challenging
to do safely than initially realized, while also extremely rare, and no
particularly multi-line behavior was documented before.