I think sanitizeJSON should be optional.. {sanitize: true}

my 2 cents.

On 1/25/07, tobie <[EMAIL PROTECTED]> wrote:
>
> Hi, thanks for the feedback.
>
> I'm working on a better handling of exceptions. Will post a patch asap.
>
> Regarding x-json, I think we should leave it as it is for consitency
> and backwards compatibility. It should also still be available if the
> mime-type is set to application/json.
>
> I had thaught about a global AJAX.sanitizeJSON option. It certainly
> something we could implement at some point, but there are some
> potential issues with that (especially if you rely on some third party
> libs also using Prototype). Your best option for such cases is to
> create a var holding your hash of options and reference it each time.
>
> Thanks for the extended comment.
>
> Cheers,
>
> Tobie
>
>
> >
>


-- 
Kjell
-- www.m3nt0r.de

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to