Hello,

I've found a possible workaround.

At first, I create a temporary directory and ask OpenBD to upload to it.

Now I can get the filename, chosen by the user, in cffile.ServerFile and can do some replacements.

As next step, I use "cfdirectory" with "action=list" to find out how the file was stored by OpenBD to my temporary directory and move it in place with the new filename, created in the previous step.

Last step: Delete temporary directory.

A really silly workaround but it works...

The whole bug doesn't only affect file uploads. It also happens if I use "cffile" with action "move" with special characters in "destination".

Mit freundlichen Grüßen / Best regards

Manuel Reimer

Am 17.06.2013 13:52, schrieb Manuel Reimer:
Am 14.06.2013 15:12, schrieb Alan Williamson:
Mats has good advice here ... it is always safe to clean up file names
before hand.

Please file a bug and we'll add in some extra checking too.

http://code.google.com/p/openbluedragon/issues/detail?id=516

Can someone please suggest a possible workaround? Am I able to replace
characters on my own?

Yours

Manuel


--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to