On 29 Jan 2013, at 14:49, Damien Cassou <damien.cassou@gmail.com> wrote:
On Tue, Jan 29, 2013 at 1:46 PM, Sven Van Caekenberghe <sven@stfx.eu> 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...
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill