RE: issue 85 - range unit extensions

Kris Zyp wrote:
> > If it's only used with the "application/json" media-type, and it can
> > define that "items" always refers to _array_ items (i.e. numbered)
> > and the JSON _top-level_ object is an array, then I have no such
> > concern.
> 
> I agree, it should only be applicable when the top-level entity is an
> array.

Except...there are a number of people who close a set of XSS attacks by
mandating their JSON implementations never return a top-level array,
only an object.

Cf
http://www.kid666.com/blog/2006/12/23/security-ajax-json-satisfaction/


Robert Brewer
fumanchu@aminus.org

Received on Wednesday, 3 September 2008 20:46:33 UTC