And what has this to do with ZODB?

-aj

On 04.09.09 05:54, tsmiller wrote:
> Hello,
>
> I am POSTing from qooxdoo using the io2.HttpRequest and somewhere in the
> transport my data is getting messed up. My data leaving the client is a
> valid stringified dictionary (data = qx.util.Json.stringify( data )).  It
> has a field with the test value "now is the time".  If I have the value "now
> is the time" then everything works fine.  My server gets the results of
>
> {'data':
> '{"session-key":"1252035241-sk","store-type":"books","online-status":"online","store-email":"bo...@grfind.com","store-name":"featherbottoms","store-policies":"now
> is the time;","store-about-info":"About Featherbottoms"}'}
>
> However, when I put a semicolon in the value, ie "now is the time;" then I
> get invalid json at the server end.
>
> {'data':
> '{"session-key":"1252035241-sk","store-type":"books","online-status":"online","store-email":"bo...@grfind.com","store-name":"featherbottoms","store-policies":"now
> is the time', '","store-about-info":"About Featherbottoms"}': ''}
>
> note the extra colon and quotes at the end of this dictionary.  I can put a
> semicolon anywhere in any of my input fields.  The json on the client is
> fine, but it is not valid json when it reaches the serve. 
>
> Has anyone experienced a similar problem.  I think that I am using build
> 19765. 
>
> thanks,
>
> tom
>
>
>
>
>
>
>   


-- 
ZOPYX Ltd. & Co KG          \  ZOPYX & Friends
Charlottenstr. 37/1          \  The experts for your Python, Zope and
D-72070 Tübingen              \  Plone projects
www.zopyx.com, i...@zopyx.com  \  www.zopyx.de/friends, frie...@zopyx.de
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting


<<attachment: lists.vcf>>

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to