yes, indeed it was the body in a header parameter :P<br><br>Elias<br><br><div class="gmail_quote">On Wed, Oct 21, 2009 at 6:52 PM, Iņaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009/10/21 Elias Baixas <<a href="mailto:elias.baixas@voztele.com">elias.baixas@voztele.com</a>>:<br>
<div class="im">> Revision: 5943<br>
> <a href="http://openser.svn.sourceforge.net/openser/?rev=5943&view=rev" target="_blank">http://openser.svn.sourceforge.net/openser/?rev=5943&view=rev</a><br>
> Author: eliasbaixas<br>
> Date: 2009-10-21 14:29:23 +0000 (Wed, 21 Oct 2009)<br>
><br>
> Log Message:<br>
> -----------<br>
> Fixed error with quoted parameters on URIs<br>
<br>
<br>
</div>Hi Elias, a URI parameter cannot contain quotation (double quotation),<br>
neither in the key or in the value. This is:<br>
<br>
Valid:<br>
1) From: <<a href="mailto:sip%3Aelias@sipmola.org">sip:elias@sipmola.org</a>;aaa=111>;bbb=222<br>
2) From: <<a href="mailto:sip%3Aelias@sipmola.org">sip:elias@sipmola.org</a>;aaa=111>;bbb="222"<br>
<br>
Invalid:<br>
3) From: <a href="mailto:sip%3Aelias@sipmola.org">sip:elias@sipmola.org</a>;aaa="111"><br>
4) From: <a href="mailto:sip%3Aelias@sipmola.org">sip:elias@sipmola.org</a>;"aaa"=111><br>
5) From: <<a href="mailto:sip%3Aelias@sipmola.org">sip:elias@sipmola.org</a>;aaa=111>;"bbb"=222<br>
<br>
Note that in case 2) bbb is a header parameter key, so its value can be quoted.<br>
Case 5) is invalid since the header parameter key ("bbb") cannot be quoted.<br>
<br>
NOTE: I just mean *double* quotation ("). Using single quotation (')<br>
is allowed in key and value for SIP URI parameters and header<br>
parameters. The following is valid:<br>
<br>
6) From: <<a href="mailto:sip%3Aelias@sipmola.org">sip:elias@sipmola.org</a>;'aaa'='111'>;'bbb'='222'<br>
<br>
<br>
Regards.<br>
<br>
<br>
PS: If it's useful for you, I coded some time ago a SIP grammar tester<br>
(using Ragel) implementing *100% strictly* the SIP ABNF grammar, so I<br>
can check with it *any* SIP ABNF component:<br>
<a href="http://dev.sipdoc.net/projects/ragel-sip-parser/wiki/Phase1" target="_blank">http://dev.sipdoc.net/projects/ragel-sip-parser/wiki/Phase1</a><br>
<font color="#888888"><br>
<br>
--<br>
Iņaki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
</font></blockquote></div><br>