<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="mailto: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" style>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" style><br></div><div class="gmail_extra" style>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" style><br></div><div class="gmail_extra" style>best regards,</div><div class="gmail_extra" style>Vlad</div><div class="gmail_extra" style><br></div></div>