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

Skip to content
Snippets Groups Projects
Commit 07a83bf3 authored by zzz's avatar zzz
Browse files

EepGet: Refuse attempted redirect to HTTPS, won't work

parent 17382369
No related branches found
No related tags found
No related merge requests found
......@@ -720,6 +720,8 @@ public class EepGet {
try {
if (_redirectLocation.startsWith("http://")) {
_actualURL = _redirectLocation;
} else if (_redirectLocation.startsWith("https://")) {
throw new IOException("Redirect to https unsupported");
} else {
// the Location: field has been required to be an absolute URI at least since
// RFC 1945 (HTTP/1.0 1996), so it isn't clear what the point of this is.
......
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