ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Bug in get task?
Date Wed, 02 Jan 2002 04:42:48 GMT
I'd call it a bug

Conor

> -----Original Message-----
> From: Steve Loughran [mailto:steve_l@iseran.com]
> Sent: Wednesday, 2 January 2002 11:52 AM
> To: ant-dev
> Subject: Bug in get task?
> 
> 
> 
> 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>
> 
> 

--
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