[thelist] cfcontent tag and "&"

M.G. Noriega manuel at simplelogica.net
Mon Jun 23 06:46:05 CDT 2003


El lun, 23-06-2003 a las 13:31, Stevenson Ngila escribió:
> Hi,
> When using cfcontent to do a file download,
> and the file name has an "&", i.e. "d&c.doc",
> the file download fails, if the name is passed through
> the URL as it assumes string concantination.
> 
> How can i avoid this as i have no control on how users 
> name there documents.
> 
> Please assist!


Can't you just rename the file after user's upload, replacing '&' with
any other safe character?
-- 
Manuel González Noriega
Simplelógica, construcción web @ http://simplelogica.net
Logicola es el weblog de Simplelógica http://simplelogica.net/logicola/



More information about the thelist mailing list