Changeset d00be4c


Ignore:
Timestamp:
Jan 25, 2014 3:52:04 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
0f862124
Parents:
9ca625a
Message:

update error pages for HTTPS

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java

    r9ca625a rd00be4c  
    6565 * If the $site resolves with the I2P naming service, then it is directed towards
    6666 * that eepsite, otherwise it is directed towards this client's outproxy (typically
    67  * "squid.i2p").  Only HTTP is supported (no HTTPS, ftp, mailto, etc).  Both GET
     67 * "squid.i2p").  Only HTTP and HTTPS are supported (no ftp, mailto, etc).  Both GET
    6868 * and POST have been tested, though other $methods should work.
    6969 *
     
    166166            "<html><body><H1>I2P ERROR: NON-HTTP PROTOCOL</H1>" +
    167167            "The request uses a bad protocol. " +
    168             "The I2P HTTP Proxy supports http:// requests ONLY. Other protocols such as https:// and ftp:// are not allowed.<BR>").getBytes();
     168            "The I2P HTTP Proxy supports HTTP and HTTPS requests only. Other protocols such as FTP are not allowed.<BR>").getBytes();
    169169    private final static byte[] ERR_BAD_URI =
    170170                                ("HTTP/1.1 403 Bad URI\r\n" +
  • installer/resources/proxy/protocol-header.ht

    r9ca625a rd00be4c  
    2020<p>
    2121_("The request uses a bad protocol.")
    22 _("The I2P HTTP Proxy supports {0}http://{1} requests ONLY.", "<code>", "</code>")
    23 _("Other protocols such as {0}https://{1} and {0}ftp://{1} are not allowed.", "<code>", "</code>")
     22_("The I2P HTTP Proxy supports HTTP and HTTPS requests only.")
     23_("Other protocols such as FTP are not allowed.")
    2424</p>
    2525</div>
Note: See TracChangeset for help on using the changeset viewer.