[ZODB-Dev] qx.io2.HttpRequest urlencoded problem POST 8.2
Andreas Jung
lists at zopyx.com
Fri Sep 4 00:30:00 EDT 2009
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":"books at 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":"books at 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, info at zopyx.com \ www.zopyx.de/friends, friends at zopyx.de
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20090904/e9dd59ad/attachment.vcf
More information about the ZODB-Dev
mailing list