Eg only whitespace is trimmed from cookies, then in webserver.Outgoing.cc:
Socket << "\r\nSet-Cookie: " << Current->Key << "=" << Current->Value;
Lacewing splits input lines on "\r\n" but browsers often happily accept "\n" as a line delimiter (see 19.3 of RFC 2616 for Postel-esque tolerance discussion). So the client can send a request header like: Cookie: foo=bar\n<naughty stuff>\r\n
to manipulate the server response, cf "response splitting attack".This is not discussed in the 37 pages(!) of the new cookie RFC 6265 :-/