On 2013-01-29, at 15:11, Sven Van Caekenberghe <[email protected]> wrote:
> > On 29 Jan 2013, at 14:49, Damien Cassou <[email protected]> wrote: > >> On Tue, Jan 29, 2013 at 1:46 PM, Sven Van Caekenberghe <[email protected]> wrote: >>> You are correct: username/password in URLs is not something that is >>> supported by ZnUrl, by design actually. >>> >>> Why do you need it ? >> >> we are implementing the Git protocol with the HTTP backend. Git urls >> often comes with username inside and that's why we thought it would be >> easier to just use #asZnUrl. And these username and password elements >> are part of the standard >> (http://en.wikipedia.org/wiki/URI_scheme#Examples). > > I will see if I can add it in an elegant way. > > I still feel it is a bit old school, from the FTP days, 99% of URLs won't > ever have this. > > But yes, I know it is used in some places, like git... well, we can easily write around it and keep the passwords separate. might make more sense anyway :)
