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

Skip to content
Snippets Groups Projects
Commit 73aade4f authored by dream's avatar dream
Browse files

Proper handling of implied "/" paths

parent 5fd79976
No related branches found
No related tags found
No related merge requests found
...@@ -389,8 +389,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn ...@@ -389,8 +389,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn
// pos is the start of the path // pos is the start of the path
pos = request.indexOf("/"); pos = request.indexOf("/");
if (pos == -1) { if (pos == -1) {
method = null; pos = request.length();
break;
} }
host = request.substring(0, pos); host = request.substring(0, pos);
......
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