I've run across an issue that I THINK may be a bug in the URLDecode() function.
Using CFMX 7 (haven't tried earlier versions), this code:
<cfset FORM.goalComments = "100% match" />
<cfoutput>#URLDecode(FORM.goalComments)#</cfoutput>
ends up outputting:
100% mtch
I've narrowed it down to the % followed by a space. If you
URLDecode("% xy") [where x and y can be any character], it strips out
the "y". It's like it's interpreting %<space> to mean "jump one
character and delete".
Has anyone seen this or know why this might be?
[Right now, the code I'm seeing this in may not even need the
URLDecode() function [I'm investigating], but it still appears to be a
problem]
Scott
--
-----------------------------------------
Scott Brady
http://www.scottbrady.net/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210144
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54