Not sure one can call this a bug... Linux/UNIX is NOT Windows... and these foreign characters are simple treated differently on these OS's Could have been nice maybe (not really sure) if the CFFILE or FileUpload() would present a filtered filename and the original filename in a separate variaqble on the server side just for the purpose of being able to store the "real" original name in to a DB. Then again... how should one be able to download this renamed file back to the client with the original name... for all on situation where the client also is on a Linux/Unix OS...
/Mats/ On Tue, Jun 18, 2013 at 2:56 PM, Manuel Reimer < [email protected]> wrote: > 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<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<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 > openbd+unsubscribe@**googlegroups.com<openbd%[email protected]> > . > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > > > -- *Mats Strömberg* *NETWORK 23* *Oracle Tablespace Report (Open Source)* Project Homepage: www.project-otr.org Source Code: Google Code<http://code.google.com/p/oracle-tablespace-report/source/checkout> Still paying to use CFML? Keep your money and switch to OpenBD<http://www.openbluedragon.org> -- -- 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.
