forked from I2P_Developers/i2p.i2p
* i2psnark: Fix params after P-R-G
This commit is contained in:
@ -906,7 +906,7 @@ public class I2PSnarkServlet extends BasicServlet {
|
|||||||
url = url.substring(0, url.length() - 5);
|
url = url.substring(0, url.length() - 5);
|
||||||
buf.append(url);
|
buf.append(url);
|
||||||
if (p.length() > 0)
|
if (p.length() > 0)
|
||||||
buf.append('?').append(p);
|
buf.append(p);
|
||||||
resp.setHeader("Location", buf.toString());
|
resp.setHeader("Location", buf.toString());
|
||||||
resp.sendError(302, "Moved");
|
resp.sendError(302, "Moved");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user