View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003240||AJAX/JS||Bug Report - Interface||public||2018-08-16 00:39||2018-12-04 12:23|
|Fixed in Version||2019-01|
|Summary||0003240: File massadd: Saving too many file templates breaks the website completely until the related cookie is cleared|
|Description||The file massadd view allows the user to save the release settings into templates, which can then be reused later. However, they are saved into a cookie, and it seems that it is very easy to make the cookie large enough that the web server _refuses to serve any pages anymore_ until you manually clear that cookie. Once you have enough of them, trying to load any page just sends back a 400:|
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Apache/2.4.25 (Debian) Server at anidb.info Port 443"
Optimally, the templates would be saved server-side anyway, allowing one to use them on multiple browsers, but for as long as they are client-side, a fix (use LocalStorage instead of cookies? the server probably doesn't care about the cookie) and/or a safeguard to not save too many would be quite appreciated
|Additional Information||I don't think having as many templates as in the attached image is even close to what could be thought as excessive, but that is already enough to break it.|
|Tags||No tags attached.|
|2018-08-16 00:39||Soulweaver||New Issue|
|2018-08-16 00:39||Soulweaver||File Added: templs.png|
|2018-08-28 08:56||DerIdiot||Project||AniDB Website => AJAX/JS|
|2018-12-04 12:23||DerIdiot||Assigned To||=> DerIdiot|
|2018-12-04 12:23||DerIdiot||Status||new => resolved|
|2018-12-04 12:23||DerIdiot||Resolution||open => fixed|
|2018-12-04 12:23||DerIdiot||Fixed in Version||=> 2019-01|