mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Remove outdated javadoc reference & explicitly specify locale
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user