nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki ...@getopt.org>
Subject Re: Possible bug in protocol-httpclient -> HttpBasicAuthentication.java
Date Mon, 20 Jun 2005 07:47:44 GMT
Juho Mäkinen wrote:
> At least in the lastets nightly build, in HttpBasicAuthentication of
> protocol-httpclient:
> 
>         String username = NutchConf.get().get("http.auth.basic." +
> challenge + ".user");
>         LOG.fine("BasicAuthentication username=" + username);
>         String password = NutchConf.get().get("http.auth.basic." +
> challenge + ".user");
>         LOG.fine("BasicAuthentication password=" + password);
> 
> Notice that the code is getting both user AND password from
> the property http.auth.basic. + challenge + .user. I believe that
> it should get it from .password :)

Yes, this looks like a bug - I'll fix this. Thank you!

-- 
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Mime
View raw message