i2ptunnel: Remove javascript from proxy error pages

Add security headers
Fix typo on resetp-header
This commit is contained in:
zzz
2020-05-15 21:31:37 +00:00
parent 31b527a4c4
commit 3992ea235d
22 changed files with 106 additions and 37 deletions

View File

@ -915,9 +915,10 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
if (outs == null) if (outs == null)
return; return;
Writer out = new BufferedWriter(new OutputStreamWriter(outs, "UTF-8")); Writer out = new BufferedWriter(new OutputStreamWriter(outs, "UTF-8"));
out.write(errMessage);
if (targetRequest != null) { if (targetRequest != null) {
String uri = DataHelper.escapeHTML(targetRequest); String uri = DataHelper.escapeHTML(targetRequest);
errMessage = errMessage.replace("<a href=\"\">", "<a href=\"" + uri + "\">");
out.write(errMessage);
out.write("<a href=\""); out.write("<a href=\"");
out.write(uri); out.write(uri);
out.write("\">"); out.write("\">");
@ -982,6 +983,8 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
out.write("</div>\n"); out.write("</div>\n");
} }
} }
} else {
out.write(errMessage);
} }
out.write("</div>\n"); out.write("</div>\n");
writeFooter(out); writeFooter(out);

View File

@ -4,6 +4,10 @@ Referrer-Policy: no-referrer
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -4,6 +4,10 @@ Referrer-Policy: no-referrer
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>

View File

@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -5,6 +5,10 @@ Proxy-Authenticate: Basic realm="I2P HTTP Proxy"
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Website Unreachable")</title> <title>_("Website Unreachable")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>

View File

@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Website Unreachable")</title> <title>_("Website Unreachable")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>

View File

@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Website Unreachable")</title> <title>_("Website Unreachable")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>
@ -21,8 +24,7 @@ Proxy-Connection: close
<p> <p>
_("The website was not reachable.") _("The website was not reachable.")
_("The website is offline, there is network congestion, or your router is not yet well-integrated with peers.") _("The website is offline, there is network congestion, or your router is not yet well-integrated with peers.")
<span class="script">_("You may want to {0}retry{1}.", "<a href=\"javascript:window.location.reload()\">", "</a>")</span> <span>_("You may want to {0}retry{1}.", "<a href=\"\">", "</a>")</span>
<noscript>_("You may want to retry.")</noscript>
</p> </p>
<hr> <hr>
<p><b>_("Could not find the following destination:")</b> <p><b>_("Could not find the following destination:")</b>

View File

@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Warning: Invalid Destination")</title> <title>_("Warning: Invalid Destination")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>
@ -22,9 +25,8 @@ Proxy-Connection: close
_("The website destination specified was not valid, or was otherwise unreachable.") _("The website destination specified was not valid, or was otherwise unreachable.")
_("Perhaps you pasted in the wrong Base 64 string or the link you are following is bad.") _("Perhaps you pasted in the wrong Base 64 string or the link you are following is bad.")
_("The I2P host could also be offline.") _("The I2P host could also be offline.")
<span class="script">_("You may want to {0}retry{1}.", "<a href=\"javascript:window.location.reload()\">", "</a>")</span> <span>_("You may want to {0}retry{1}.", "<a href=\"\">", "</a>")</span>
<noscript>_("You may want to retry.")</noscript>
</p> </p>
<hr> <hr>
<p><b>_("Could not find the following destination:")</b> <p><b>_("Could not find the following destination:")</b>
</p> </p>

View File

@ -4,6 +4,10 @@ Referrer-Policy: no-referrer
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>

View File

@ -3,12 +3,15 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>_("Outproxy Not Found")</title> <title>_("Outproxy Not Found")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>
@ -22,8 +25,7 @@ Proxy-Connection: close
<p> <p>
_("The HTTP Outproxy was not found.") _("The HTTP Outproxy was not found.")
_("It is offline, there is network congestion, or your router is not yet well-integrated with peers.") _("It is offline, there is network congestion, or your router is not yet well-integrated with peers.")
<span class="script">_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"javascript:parent.window.location.reload()\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</span> <span>_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</span>
<noscript>_("You may want to retry as this will randomly reselect an outproxy from the pool you have defined {0}here{1} (if you have more than one configured).", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</noscript>
_("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr/edit?tunnel=0\">", "</a>") _("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr/edit?tunnel=0\">", "</a>")
</p> </p>
<hr><p><b>_("Could not find the following destination:")</b></p> <hr><p><b>_("Could not find the following destination:")</b></p>

View File

@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Outproxy Unreachable")</title> <title>_("Outproxy Unreachable")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>
@ -20,8 +23,7 @@ Proxy-Connection: close
<h3>_("Outproxy Unreachable")</h3> <h3>_("Outproxy Unreachable")</h3>
<p> <p>
_("The HTTP outproxy was not reachable, because it uses encryption options that are not supported by your I2P or Java version.") _("The HTTP outproxy was not reachable, because it uses encryption options that are not supported by your I2P or Java version.")
<span class="script">_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"javascript:parent.window.location.reload()\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</span> <span>_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</span>
<noscript>_("You may want to retry as this will randomly reselect an outproxy from the pool you have defined {0}here{1} (if you have more than one configured).", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</noscript>
_("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr/edit?tunnel=0\">", "</a>") _("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr/edit?tunnel=0\">", "</a>")
</p> </p>
<hr><p><b>_("Could not connect to the following destination:")</b></p> <hr><p><b>_("Could not connect to the following destination:")</b></p>

View File

@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Website Unreachable")</title> <title>_("Website Unreachable")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>
@ -21,8 +24,7 @@ Proxy-Connection: close
<p> <p>
_("The website was not reachable, because its lease set was not found.") _("The website was not reachable, because its lease set was not found.")
_("The website is probably down, but there could also be network congestion.") _("The website is probably down, but there could also be network congestion.")
<span class="script">_("You may want to {0}retry{1}.", "<a href=\"javascript:window.location.reload()\">", "</a>")</span> <span>_("You may want to {0}retry{1}.", "<a href=\"\">", "</a>")</span>
<noscript>_("You may want to retry.")</noscript></p>
</p> </p>
<hr> <hr>
<p><b>_("Could not find the following destination:")</b> <p><b>_("Could not find the following destination:")</b>

View File

@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Outproxy Not Found")</title> <title>_("Outproxy Not Found")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>
@ -21,8 +24,7 @@ Proxy-Connection: close
<p> <p>
_("The HTTP outproxy was not reachable, because its lease set was not found.") _("The HTTP outproxy was not reachable, because its lease set was not found.")
_("The outproxy is probably down, but there could also be network congestion.") _("The outproxy is probably down, but there could also be network congestion.")
<span class="script">_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"javascript:parent.window.location.reload()\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</span> <span>_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</span>
<noscript>_("You may want to retry as this will randomly reselect an outproxy from the pool you have defined {0}here{1} (if you have more than one configured).", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</noscript>
_("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr/edit?tunnel=0\">", "</a>") _("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr/edit?tunnel=0\">", "</a>")
</p> </p>
<hr><p><b>_("Could not find the following destination:")</b></p> <hr><p><b>_("Could not find the following destination:")</b></p>

View File

@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>

View File

@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Connection Reset")</title> <title>_("Connection Reset")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>
@ -21,8 +24,7 @@ Proxy-Connection: close
<p> <p>
_("The connection to the website was reset while the page was loading.") _("The connection to the website was reset while the page was loading.")
_("The website could be temporarily unavailable, too busy, or it has blocked your access.") _("The website could be temporarily unavailable, too busy, or it has blocked your access.")
<span class="script">_("You may want to {0}retry{1}.", "<a href=\"javascript:window.location.reload()\">", "</a>")</span> <span>_("You may want to {0}retry{1}.", "<a href=\"\">", "</a>")</span>
<noscript>_("You may want to retry.")</noscript></p>
</p> </p>
<hr> <hr>
<p><b>_("Could not find the following destination:")</b> <p><b>_("Could not find the following destination:")</b>

View File

@ -1,13 +1,16 @@
TTP/1.1 403 Connection Reset HTTP/1.1 403 Connection Reset
Content-Type: text/html; charset=UTF-8 Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache Cache-Control: no-cache
Connection: close Connection: close
Proxy-Connection: close Proxy-Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'none'; style-src 'self' 'unsafe-inline' http://proxy.i2p; form-action 'self' http://proxy.i2p; frame-ancestors 'self' http://127.0.0.1:7657/; img-src http://proxy.i2p
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <html><head>
<title>_("Connection Reset")</title> <title>_("Connection Reset")</title>
<noscript><style type="text/css">.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico"> <link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css"> <link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head> </head>
@ -21,8 +24,7 @@ Proxy-Connection: close
<p> <p>
_("The connection to the proxy was reset.") _("The connection to the proxy was reset.")
_("The proxy could be temporarily unavailable, too busy, or it has blocked your access.") _("The proxy could be temporarily unavailable, too busy, or it has blocked your access.")
<span class="script">_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"javascript:parent.window.location.reload()\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</span> <span>_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</span>
<noscript>_("You may want to retry as this will randomly reselect an outproxy from the pool you have defined {0}here{1} (if you have more than one configured).", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr\">", "</a>")</noscript>
_("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr/edit?tunnel=0\">", "</a>") _("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnelmgr/edit?tunnel=0\">", "</a>")
</p> </p>
<hr> <hr>