rails/rails — pull request #6845 by iGEL (2012-06-24 16:54:35+00:00)
Title: Check the size of cookies correctly

This is my new version of #6796, which wasn't pointing to master.

Rails so far did check the size of signed cookies only, permanent and normal cookies aren't checked. Also, it checked the size of the unescaped value of a single cookie only, but browsers check the size of all cookies set by the current request together including names and options.

See http://myownplayground.atspace.com/cookietest.html