
26 Feb
2011
26 Feb
'11
4:20 a.m.
2011/2/26 Антон Чешков
Hi all! "...parseRequest Parsing the request headers involves taking all of the header lines (every line until a blank line) and then parsing those via parseRequest'. takeHeaders (a function I will not explain here) goes ahead and reads in all of the header lines until a blank. A special thanks to Gregory Collins for pointing out a security hole in the initial versions of Warp: takeHeaders now ensures that no header is longer than 1024 bytes, and there are at most 30 headers to avoid a DOS attack..." (http://docs.yesodweb.com/blog/announcing-warp)
Neither of the supplied requests matches these criteria.
G
--
Gregory Collins