View Issue Details

IDProjectCategoryView StatusLast Update
0000401HTML & PERLFeature Request - Interfacepublic2009-01-31 14:55
ReporterDerIdiot Assigned Tofahrenheit  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000401: Limit the number of lines in ed2kdump with js
DescriptionI did some testing...
The max number of items is 100. 101 links gives an error!

----
this is probably caused by a limited post buffer on the side of the proxy server.
----
why not set the textarea's character limit to the same size as the post buffer?

This way, it's immediately obvious that the buffer is full, as further text cannot be pasted in to the textarea. Rather than a 502, the user is given more meaningful feedback, as the success page only shows the links that fitted in the textarea.

A first-time user of ed2kdump might assume that 502 meant that it was broken, not that their input was too long.
Additional Informationhttp://www.anidb.net/forum/viewtopic.php?t=813
Tagsjavascript

Activities

fahrenheit

2008-05-08 09:13

reporter   ~0002041

DerIdiot do you happen to know the limit?

fahrenheit

2009-01-31 14:55

reporter   ~0002537

limited the number of lines to 100, the actual limit can be altered in anime3/ed2kdump.js by changing the MAX_LINES number.

Issue History

Date Modified Username Field Change
2006-07-16 17:46 DerIdiot New Issue
2006-07-16 17:47 DerIdiot Additional Information Updated
2007-01-26 10:24 epoximator Status new => assigned
2007-01-26 10:24 epoximator Assigned To => epoximator
2007-12-06 07:47 epoximator Assigned To epoximator =>
2007-12-06 07:47 epoximator Status assigned => new
2007-12-06 11:33 epoximator Summary ed2kdump error message change + channge to textarea characterlimit => Limit the number of lines in ed2kdump with js
2008-05-08 09:13 fahrenheit Note Added: 0002041
2008-05-08 09:13 fahrenheit Tag Attached: javascript
2008-05-08 09:14 fahrenheit Status new => assigned
2008-05-08 09:14 fahrenheit Assigned To => fahrenheit
2008-05-08 09:14 fahrenheit Status assigned => acknowledged
2009-01-31 14:55 fahrenheit Note Added: 0002537
2009-01-31 14:55 fahrenheit Status acknowledged => resolved
2009-01-31 14:55 fahrenheit Resolution open => fixed