On Wed, May 18, 2011 at 16:49, <[email protected]> wrote: > > > On Wed, 18 May 2011, ik wrote: > > On Wed, May 18, 2011 at 16:08, Marco van de Voort <[email protected]> >> wrote: >> >> In our previous episode, [email protected] said: >>> >>>> >>>>> RFC 3986 <http://tools.ietf.org/html/rfc3986> does talk about such >>>>> >>>> structure >>> >>>> of URI as well. >>>>> >>>> >>>> Hmmm. >>>> >>>> How can code distinguish between >>>> >>>> protocol:something@somesite >>>> >>>> and >>>> password:something@somesite >>>> >>>> ? >>>> >>> >>> The second is not an uri ? >>> >>> >> It is, but as far as I understand, you can not have a password without a >> user according to RFC3986 <http://tools.ietf.org/html/rfc3986#section-3.2 >> > >> > > So, how to distinguish between the two ? > > sip:[email protected] > > Is "sip" the protocol or the user name for a HTTP address ? >
sip is the protocol, mysecrect is the user name sip::[email protected] according to the RFC is the proper way to have 1. Protocol 2. Empty user name 3. Password 4. Domain > > Michael. > > Ido > _______________________________________________ > fpc-pascal maillist - [email protected] > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
