On Mon, Sep 12, 2011 at 8:36 PM, Joshua Paine <[email protected]>
wrote:
>>
>> I would strongly oppose breaking compatibility with every JSON processor
>> in the world (and, frankly, looking like idiots to people curious about
>> fossil's web services) to possibly protect against some badly behaved

I am surprised that none of the major JSON parsers would not have any
means (either directly or by being called by an XML/HTML parser) to
process JSON embedded inside XML or HTML.

Ultimately, I agree it should not be necessary to resort to such
schemes as a means to work around bad behavior. Nevertheless, I find
it hard to imagine that noone would never come up with a legitimate
reason to embed JSON into XML or HTML. If Javascript can be embedded
in a webpage, why not JSON?

FYI, where I work, we are required to code defensively, so I have
acquired a tendancy to look for problems so I can better defend
against them. Nothing's perfect, of course.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to