ColdFusion to be saved to the server's file system.
In flash I have a form that the user fills out, and that information is used
to populate the XML object. When I trace the finished XML object in Flash it
shows that apostrophes are being escaped properly with ' So if a user
enters into one of the fields: Adam's Input Text - it traces as Adam's
Input Text (I hope the escaped characters stay escaped in this email).
In coldfusion I use GetHttpRequestData().content to access the XML in the
POST data. This works fine if all of the attributes in the XML have only one
escaped apostrophe in them. It breaks when there are two or more apostrophes
though. So if I had Adam's and Jen's Input Text as one of the
attributes in an XML element, ColdFusion returns this error - this is just
from trying to output GetHttpRequestData().content with nothing else on the
page:
java.lang.IllegalArgumentException
at coldfusion.filter.FormScope.parseQueryString(FormScope.java:267)
at coldfusion.filter.FormScope.parsePostData(FormScope.java:239)
at coldfusion.filter.FormScope.fillForm(FormScope.java:190)
at
coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:345
)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:168)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Does anyone know what I should look for? I'm having a hard time telling if
this is a flash or a CF thing.
Adam.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

