I ran this in CFMX (Developer Edition, Updater 2, WinXP, IIS):

<cfdump var="#URL#" label="URL">
<cfdump var="#CGI#" label="CGI">
<cfif
IsDefined("URL.filename")><cfoutput>#HTMLCodeFormat(URL.filename)#</cfou
tput></cfif>

I did not see the error you are talking about..

Jon, Say "hi" to Chris Evans for me. :)

----------------------------
James Ang
Programmer/Product Engineer
MedSeek, Inc.
[EMAIL PROTECTED]



-----Original Message-----
From: Miller, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 14, 2003 11:32 AM
To: CF-Talk
Subject: RE: MX thinks URL Params are structures


Does the URL encode function escape this?

Kevin

-----Original Message-----
From: Jonathan [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 11:28 AM
To: CF-Talk
Subject: MX thinks URL Params are structures


I've found that in CFMX, if you pass a URL param that contains a . CF
thinks it's a structure instead of a string, and therefore throws an
error when you try to output it.  example:

myPage.cfm?fileName=myFile.exe

Does anyone know of a fix for this?

- Jonathan




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to