Exception CookieOverflow


#1

I caught a lot of ActionDispatch::Cookies::CookieOverflow exceptions. The below line of code is the culprit:

The referer url can be larger enough. You’d better limit it.


(Jeff Atwood) #2

Hmm, perhaps you should take a look at this @eviltrout


(Robin Ward) #3

I’ve truncated the referer if it’s too long:

https://github.com/discourse/discourse/commit/53ca51654dbcd0419693ea21a6e64b3b9f310828


(Régis Hanol) #4