[Seaside-dev] Fixing 754 in 3.0?

Julian Fitzell jfitzell at gmail.com
Wed May 1 23:48:16 UTC 2013


I'd say go for the easy fix and don't worry about "optimisations"...?

On Wed, May 1, 2013 at 8:22 PM, Philippe Marschall
<philippe.marschall at gmail.com> wrote:
> Hi
>
> As you can probably tell from the mails I've been fixing some bugs
> today (Workers' Day). One of the more interesting ones was Issue 754
> [1]. The underlying problem is that in 3.0 the JSON support builds on
> top of the JavaScript support. So the JavaScript string escaping is
> used for escaping JSON. The JavaScript string escaping make use of
> some "optimisations" like \0 zero for or \xXX for unnamed ASCI control
> characters. These are not valid in JSON, JSON wants \uXXXX. If we want
> to fix this in 3.0 we have to change the way string escaping is done
> for JavaScript and always use \uXXXX for unnamed ASCI control
> characters (which is still valid JavaScript). How do people feel about
> this?
>
> (in 3.1 this was easy to fix because JSON and JavaScript are separate)
>
>  [1] http://code.google.com/p/seaside/issues/detail?id=754
>
> Cheers
> Philippe
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev


More information about the seaside-dev mailing list