This content has been marked as final. Show 6 replies
If the scope is attributes, it looks like a custom tag. Trim the variable on the way in to the tag.
The way our code base is set up, is that we dump all the form and url vars into the attributes scope. It isn't a custom tag but more of a fusebox type methodolgy.
we really don't need the trim, i'm not sure why the former developer put it there.
but i could do a
the two outputs show ' tick. the param in cfquery when i look at the debugging code has ''.
it is very odd indeed
I have the exact same problem.
I was suggested the PreserveSingleQuotes function, which didn't work. Anyone know a fix?
> I was suggested the PreserveSingleQuotes function, which didn't work. Anyone know a fix?
One thing that's not immediately obvious with preserveSingleQuotes(), is
that it ONLY works within <cfquery> tags. It achieves nothing if you do it
outwith those tags. I'm not sure whether this is relevant to your
Ahem. Let me picture this.
It did work right in the updated CFMX 6.1.
It did not work in the older CFMX 6.1.
"The cfqueryparam tag doubled single quotation marks (') when strings were manipulated within the tag attributes." is the _FIRST_ issue that is mentioned in the Macromedia's CFMX 6.1 updater fix-list.
...sometimes it's just so, So very difficult to remain calm and polite, when.... awww forget it. *rolleyes*
LOL, i guess I should have checked that.
I agree, the *rolleyes* is approiate here. But iguess that is what I get for assuming that both servers were up to date.