I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit adfc2249 authored by kytv's avatar kytv
Browse files

Remove outdated javadoc reference & explicitly specify locale

parent 44498ca8
No related branches found
No related tags found
No related merge requests found
...@@ -30,8 +30,6 @@ import net.i2p.util.InternalSocket; ...@@ -30,8 +30,6 @@ import net.i2p.util.InternalSocket;
* [-o outputFile] * [-o outputFile]
* [-m markSize lineLen] * [-m markSize lineLen]
* url * url
*
* Bug: a malformed url http://example.i2p (no trailing '/') fails cryptically
*/ */
public class EepGet { public class EepGet {
protected final I2PAppContext _context; protected final I2PAppContext _context;
...@@ -1207,7 +1205,7 @@ public class EepGet { ...@@ -1207,7 +1205,7 @@ public class EepGet {
public void addAuthorization(String userName, String password) { public void addAuthorization(String userName, String password) {
if (_shouldProxy) if (_shouldProxy)
addHeader("Proxy-Authorization", 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
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment