Remove outdated javadoc reference & explicitly specify locale

This commit is contained in:
kytv
2012-12-31 21:45:49 +00:00
parent 44498ca8c7
commit adfc22499c

View File

@@ -30,8 +30,6 @@ import net.i2p.util.InternalSocket;
* [-o outputFile]
* [-m markSize lineLen]
* url
*
* Bug: a malformed url http://example.i2p (no trailing '/') fails cryptically
*/
public class EepGet {
protected final I2PAppContext _context;
@@ -1207,7 +1205,7 @@ public class EepGet {
public void addAuthorization(String userName, String password) {
if (_shouldProxy)
addHeader("Proxy-Authorization",
"Basic " + Base64.encode((userName + ':' + password).getBytes(), true)); // true = use standard alphabet
"Basic " + Base64.encode(DataHelper.getUTF8(userName + ':' + password), true)); // true = use standard alphabet
}
/**