Changeset 07a83bf for core


Ignore:
Timestamp:
Nov 21, 2017 12:58:44 AM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8c7898de
Parents:
1738236
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/EepGet.java

    r1738236 r07a83bf  
    721721                if (_redirectLocation.startsWith("http://")) {
    722722                    _actualURL = _redirectLocation;
     723                } else if (_redirectLocation.startsWith("https://")) {
     724                    throw new IOException("Redirect to https unsupported");
    723725                } else {
    724726                    // the Location: field has been required to be an absolute URI at least since
Note: See TracChangeset for help on using the changeset viewer.