Is 'single character >' allowed in xmpp since it is xml ?<div>Should have been &gt;</div><div><span></span><br><br>On Wednesday, January 2, 2013, Vlad Dumitrescu  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra">Hi!<br><br><div class="gmail_quote">On Wed, Jan 2, 2013 at 12:26 PM, Evren Bayraktar <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'evrenweb@gmail.com');" target="_blank">evrenweb@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>lists:flatten(io_lib:format("from=~s&to=~s&message=~s&status=~b&time_create=~b", [FromS, ToS, BodyS, Status, unix_timestamp()</div>


<div></div></blockquote></div><br></div><div class="gmail_extra">I would guess that the message's body (and maybe even the other strings) should be escaped or quoted (by using ~w instead of ~s), probably the parser for the resulting string can't handle the spaces and the '>'. </div>


<div class="gmail_extra"><br></div><div class="gmail_extra">You should in any case sanitize the input, otherwise you will have problems with code injection, imagine a message saying "Hello&status=closed&time_create=..." (or worse).</div>


<div class="gmail_extra"><br></div><div class="gmail_extra">best regards,</div><div class="gmail_extra">Vlad</div><div class="gmail_extra"><br></div></div>
</blockquote></div>