<div dir="ltr">On Wed, May 18, 2011 at 16:49,  <span dir="ltr"><<a href="mailto:michael.vancanneyt@wisa.be">michael.vancanneyt@wisa.be</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
<br>
On Wed, 18 May 2011, ik wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Wed, May 18, 2011 at 16:08, Marco van de Voort <<a href="mailto:marcov@stack.nl" target="_blank">marcov@stack.nl</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In our previous episode, <a href="mailto:michael.vancanneyt@wisa.be" target="_blank">michael.vancanneyt@wisa.be</a> said:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
RFC 3986 <<a href="http://tools.ietf.org/html/rfc3986" target="_blank">http://tools.ietf.org/html/rfc3986</a>> does talk about such<br>
</blockquote></blockquote>
structure<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
of URI as well.<br>
</blockquote>
<br>
Hmmm.<br>
<br>
How can code distinguish between<br>
<br>
protocol:something@somesite<br>
<br>
and<br>
password:something@somesite<br>
<br>
?<br>
</blockquote>
<br>
The second is not an uri ?<br>
<br>
</blockquote>
<br>
It is, but as far as I understand, you can not have a password without a<br></div>
user according to RFC3986 <<a href="http://tools.ietf.org/html/rfc3986#section-3.2" target="_blank">http://tools.ietf.org/html/rfc3986#section-3.2</a>><br>
</blockquote>
<br>
So, how to distinguish between the two ?<br>
<br>
<a href="mailto:sip%3Amysecret@mydomain.com" target="_blank">sip:mysecret@mydomain.com</a><br>
<br>
Is "sip" the protocol or the user name for a HTTP address ?<br></blockquote><div><br>sip is the protocol, mysecrect is the user name<br><br><a href="mailto:sip%3A%3Amysecrect@mydomain.com">sip::mysecrect@mydomain.com</a> <br>

<br>according to the RFC is the proper way to have<br>1. Protocol<br>2. Empty user name<br>3. Password<br>4. Domain<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<br>
Michael.<div><div></div><div class="h5"><br></div></div></blockquote><div><br>Ido<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div class="h5">
_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div>