I've checked the request.

Here's the fragment.

------=_Part_16732_4260695.1252651666846
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: form-data; name="from"

*...@***.**/Work067E4040
------=_Part_16732_4260695.1252651666846
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: form-data; name="to"

*...@***.appspotchat.com
------=_Part_16732_4260695.1252651666846
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: form-data; name="body"

a����������������������a
------=_Part_16732_4260695.1252651666846
Content-Type: text/xml; charset="UTF-8"
Content-Disposition: form-data; name="stanza"

<cli:message type="chat" id="purple292fa5cc" to="*...@***.appspotchat.com"
from="*...@***.**/Work067E4040" xmlns:cli="jabber:client"><x
xmlns="jabber:x:event"><composing/></x><active xmlns="
http://jabber.org/protocol/chatstates"/><cli:body>a???????????a</cli:body><html
xmlns="http://jabber.org/protocol/xhtml-im";><body xmlns="
http://www.w3.org/1999/xhtml";>a???????????a</body></html><nos:x
value="disabled" xmlns:nos="google:nosave"/><arc:record otr="false"
xmlns:arc="http://jabber.org/protocol/archive"/></cli:message>
------=_Part_16732_4260695.1252651666846--

Letters between 'a' characters are not displayed correctly and have code
65533.
So the request itself comes malformed. I guess we should fire bug.

---
Ivan Frolov
http://www.frolov.md


On Thu, Sep 10, 2009 at 21:22, Artem Kuroptev <kurop...@gmail.com> wrote:

>
> There is a principal thing to find - if a body of POST request to
> servlet contains valid unicode data.
> 1. POST body contains valid data. Then we can get it in binary form
> and then parse with apache commons or something like that. It will
> require to guess the encoding of post request.
> 2. POST contains malformed data. We can do nothing, it all on Google
> engineers.
>
>
>
> On Sep 10, 6:06 pm, gusto <i...@frolov.md> wrote:
> > The same problem.
> >  However if I send message from web interface in development mode (/
> > _ah/admin/xmpp), it works fine.
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to