ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
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?

-Steve


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message