On Thu, 27 Feb 2014 09:32:14 GMT, Sönke Ludwig wrote:
On Thu, 27 Feb 2014 09:15:56 GMT, Colin Grogan wrote:
On Thu, 27 Feb 2014 08:15:17 GMT, Sönke Ludwig wrote:
On Wed, 26 Feb 2014 23:32:20 GMT, Colin Grogan wrote:
Looking at the file that actually gets through, its always the last one I select. My guess is that because req.files is an array[string], and the key is the same in each case, the array[string] is just over-ridden every time. Would this make sense?
Yes, I guess that's exactly the case. I'll change the type of
req.files
to use aDictionaryList!(FilePart, true)
instead of an associative array (likereq.form
andreq.query
already do).Great, thanks!
Implemented by 7a090b2 (it's still on the 0.7.20 branch* until 0.7.19 is released)
* if anyone asks themselves why there is no 0.7.19 branch instead and development happens on master: It's just due to a limitation of the current CI server, which will be fixed in a while.
Have quickly tested it, it works! Will let you know if theres any other issues with this change.
Thanks again.