View Issue Details

IDProjectCategoryView StatusLast Update
0003240AJAX/JSBug Report - Interfacepublic2018-12-04 12:23
ReporterSoulweaver Assigned ToDerIdiot  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version2019-01 
Summary0003240: File massadd: Saving too many file templates breaks the website completely until the related cookie is cleared
DescriptionThe 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:

"Bad Request

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 InformationI 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.
TagsNo tags attached.

Activities

Soulweaver

2018-08-16 00:39

reporter  

templs.png (11,081 bytes)   
templs.png (11,081 bytes)   

Issue History

Date Modified Username Field Change
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