Re: qx.io2.HttpRequest urlencoded problem POST 8.2

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: qx.io2.HttpRequest urlencoded problem POST 8.2

by Andreas Jung-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...","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@...","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@...  \  www.zopyx.de/friends, friends@...
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting



[lists.vcf]

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:info@...
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard



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

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