.... there's a problem in the tag <cfa_url2struct>, which will fail on URLs 
with encoded characters in the querystring.

for instance, this url is okay (note, theres an underscore "_" character, 
not a space):
http://mysite.com/somepage.cfm?the_underscore=foo

but this will fail:
http://mysite.com/somepage.cfm?the%5Funderscore=foo

The big problem with this error - unless you're actually using url2struct, 
which I'm guessing people aren't - is that <cfa_page> in design mode uses 
this tag internally.  So, if you view a page in designmode with encoded 
characters, you've got a problem.

The error only occurs when the character is in the *name* of the url 
variable, not the *value*.

This can be fixed by changing line 42 of cfa_url2struct.cfm to be:
<cfset theName = URLDecode(listGetAt(nameValuePair, 1, "="))>


HTH!

-- David


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to