2009/8/16 Bryan Tong Minh bryan.tongminh@gmail.com:
On Sun, Aug 16, 2009 at 12:01 AM, Roan Kattouwroan.kattouw@gmail.com wrote:
So you're putting a form in an iframe and submitting that? Then you could consider using jsonfm instead and screenscrape it (getting the contents of the <pre> and stripping all tags from it should work), which is ugly as hell but will at least give you a nice and harmless text/html.
You're not serious in that right? That sounds like a horrible solution.
I know it's horrible. Michael suggested using XML on IRC (implying that text/xml is accepted), but the XML format is a bit different from the JSON format.
Better would be to run the output of the JSON module through IEContentAnalyzer and force application/json if the content is deemed dangerous.
On the server side? We do some stuff to stop IE from screwing up, but that's over the top IMO.
Roan Kattouw (Catrope)