Jonathan-

I cannot reproduce:

passing in "urltest.cfm?myvar=thisfile.exe" 

for a page that contains:

<cfif isDefined("url.myvar")>
        <cfoutput>#url.myvar#</cfoutput>
</cfif>

I get: thisfile.exe 

Let me check to see if this was an updater fix...


Collin Tobin
CFMX QA Engineer
Macromedia�
What the web can be.(tm)

Announcing Macromedia DevNet Subscriptions 
Maximize your power with our new premium software subscription for Macromedia 
developers 
Find out more: <http://www.macromedia.com/go/devnetsubs/> 





-----Original Message-----
From: Jonathan [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 4:08 PM
To: CF-Talk
Subject: Re: MX thinks URL Params are structures


I'm running the updater2 install now.  Not sure why i didn't run it
before....  maybe that will help.
Chris is out sick today, but i'll let him know you said hi.

- Jonathan

----- Original Message -----
From: "James Ang" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 3:04 PM
Subject: RE: MX thinks URL Params are structures


> 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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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

Reply via email to