ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Bug in get task?
Date Wed, 02 Jan 2002 00:51:42 GMT

I am updating get.html with the uname/pass stuff; doing a code walkthough in
the process, where I came across this little problem:

What happens in <get> if one of username or password is not set, but not the
other? On line 138 the code goes

            if (uname != null || pword != null) {
                String up = uname + ":" + pword;
Which seems to me that it will concate a null into the authentication
string. This is not normally considered a good thing. Bug? Or some aspect of
RFC 2517 or whatever that I have missed?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message