[thelist] cfcontent tag and "&"

Marek Kilimajer kilimajer at webglobe.sk
Mon Jun 23 07:46:06 CDT 2003


because it should be urlecoded. & is %26. In php you can use
<a href="<?= urlencode($link) ?>"> helo </a>

Stevenson Ngila wrote:
> 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!
> 



More information about the thelist mailing list