Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Additional fields in CFFILEUPLOAD in ColdFusion 9 Beta

Guest
Jul 23, 2009 Jul 23, 2009

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?

I am running CF9 Beta 32 bit for Mac with internal development server.
Browsers that show this issue (Firefox 3.5 and Safari 4.0, both with Flash 10 plugin installed)
Does anyone know the solution for this problem?
Thanks!
Yuri
1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 23, 2009 Jul 23, 2009
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources