Copy link to clipboard
Copied
Dear all, While browsing through the new juicy CF9 goodies I came across a wonderful new tag called CFFILEUPLOAD that allows for multiple file uploads in combination with the new UPLOADALL feature of the CFFILE tag. So far so good.
Unfortunately, as always with Flash, all information except for the URL data goes straight into the FILEDATA formfield. The real problem that renders this new wonderful tag useless is that it seems that only the first name-value pair of the query string is passed to the target template i.e specifying the target URL as /index.cfm?a=1&b=2&c=3 will only pass "a=1" to the server, the rest disappears in the blue. Does it sound familar? I can imagine some workarounds but shouldn't it be passing all name-value pairs straight out of the box?
Copy link to clipboard
Copied
After doing some experiments I found the anwer to this riddle: the query string should be URLencoded, otherwise it will be cut at the first ampersand ("&"). That means substituting all "&" for "%26". Quite a simple solution actually. I guess it would be great if the manual would stress the need to encode the querystring.
Thanks for the great product!
Yuri