On Wed, May 18, 2011 at 16:49, <michael.vancann...@wisa.be> wrote: > > > On Wed, 18 May 2011, ik wrote: > > On Wed, May 18, 2011 at 16:08, Marco van de Voort <mar...@stack.nl> >> wrote: >> >> In our previous episode, michael.vancann...@wisa.be 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:mysec...@mydomain.com > > Is "sip" the protocol or the user name for a HTTP address ? >
sip is the protocol, mysecrect is the user name sip::mysecr...@mydomain.com 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 - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal