> If anyone really feels strongly about this, they should create a
> function that does what they want, name it something more useful and
> specific, and place it on cflib.org
function JSF(s) { return replacelist(s,""",',/","\"",\',\/"); }
The problem isn't that it can't be done -- the problem is that people
(programmers) expect it to be bulletproof for a common situation which
it's not... it could be... but there's some strange desire to not make
it bulletproof based on a fear of ambiguous problems that might arise
from fixing the specific problem that we know exists. Putting a note in
the livedocs doesn't resolve the issue because the number of people that
will reach will be miniscule. And even educating people that they
shouldn't use jsstringformat isn't really something we should have to do.
It should just be bulletproof *if* we can make it so without negative
side effects, and it's been proven that we can.
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 503.236.3691
http://onTap.riaforge.org/blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295732
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4