forked from I2P_Developers/i2p.i2p
i2ptunnel: Remove javascript from proxy error pages
Add security headers Fix typo on resetp-header
This commit is contained in:
@ -915,9 +915,10 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
|
||||
if (outs == null)
|
||||
return;
|
||||
Writer out = new BufferedWriter(new OutputStreamWriter(outs, "UTF-8"));
|
||||
out.write(errMessage);
|
||||
if (targetRequest != null) {
|
||||
String uri = DataHelper.escapeHTML(targetRequest);
|
||||
errMessage = errMessage.replace("<a href=\"\">", "<a href=\"" + uri + "\">");
|
||||
out.write(errMessage);
|
||||
out.write("<a href=\"");
|
||||
out.write(uri);
|
||||
out.write("\">");
|
||||
@ -982,6 +983,8 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
|
||||
out.write("</div>\n");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
out.write(errMessage);
|
||||
}
|
||||
out.write("</div>\n");
|
||||
writeFooter(out);
|
||||
|
@ -4,6 +4,10 @@ Referrer-Policy: no-referrer
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -4,6 +4,10 @@ Referrer-Policy: no-referrer
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html>
|
||||
|
@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -5,6 +5,10 @@ Proxy-Authenticate: Basic realm="I2P HTTP Proxy"
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
|
@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
|
@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
@ -21,8 +24,7 @@ Proxy-Connection: close
|
||||
<p>
|
||||
_("The website was not reachable.")
|
||||
_("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>
|
||||
<noscript>_("You may want to retry.")</noscript>
|
||||
<span>_("You may want to {0}retry{1}.", "<a href=\"\">", "</a>")</span>
|
||||
</p>
|
||||
<hr>
|
||||
<p><b>_("Could not find the following destination:")</b>
|
||||
|
@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
@ -22,8 +25,7 @@ Proxy-Connection: close
|
||||
_("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.")
|
||||
_("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>
|
||||
<noscript>_("You may want to retry.")</noscript>
|
||||
<span>_("You may want to {0}retry{1}.", "<a href=\"\">", "</a>")</span>
|
||||
</p>
|
||||
<hr>
|
||||
<p><b>_("Could not find the following destination:")</b>
|
||||
|
@ -4,6 +4,10 @@ Referrer-Policy: no-referrer
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html>
|
||||
|
@ -3,12 +3,15 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html>
|
||||
<head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
@ -22,8 +25,7 @@ Proxy-Connection: close
|
||||
<p>
|
||||
_("The HTTP Outproxy was not found.")
|
||||
_("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>
|
||||
<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>
|
||||
<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>
|
||||
_("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>
|
||||
<hr><p><b>_("Could not find the following destination:")</b></p>
|
||||
|
@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
@ -20,8 +23,7 @@ Proxy-Connection: close
|
||||
<h3>_("Outproxy Unreachable")</h3>
|
||||
<p>
|
||||
_("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>
|
||||
<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>
|
||||
<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>
|
||||
_("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>
|
||||
<hr><p><b>_("Could not connect to the following destination:")</b></p>
|
||||
|
@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
@ -21,8 +24,7 @@ Proxy-Connection: close
|
||||
<p>
|
||||
_("The website was not reachable, because its lease set was not found.")
|
||||
_("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>
|
||||
<noscript>_("You may want to retry.")</noscript></p>
|
||||
<span>_("You may want to {0}retry{1}.", "<a href=\"\">", "</a>")</span>
|
||||
</p>
|
||||
<hr>
|
||||
<p><b>_("Could not find the following destination:")</b>
|
||||
|
@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
@ -21,8 +24,7 @@ Proxy-Connection: close
|
||||
<p>
|
||||
_("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.")
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
_("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>
|
||||
<hr><p><b>_("Could not find the following destination:")</b></p>
|
||||
|
@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -3,6 +3,10 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
|
@ -3,11 +3,14 @@ Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
@ -21,8 +24,7 @@ Proxy-Connection: close
|
||||
<p>
|
||||
_("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.")
|
||||
<span class="script">_("You may want to {0}retry{1}.", "<a href=\"javascript:window.location.reload()\">", "</a>")</span>
|
||||
<noscript>_("You may want to retry.")</noscript></p>
|
||||
<span>_("You may want to {0}retry{1}.", "<a href=\"\">", "</a>")</span>
|
||||
</p>
|
||||
<hr>
|
||||
<p><b>_("Could not find the following destination:")</b>
|
||||
|
@ -1,13 +1,16 @@
|
||||
TTP/1.1 403 Connection Reset
|
||||
HTTP/1.1 403 Connection Reset
|
||||
Content-Type: text/html; charset=UTF-8
|
||||
Cache-Control: no-cache
|
||||
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">
|
||||
<html><head>
|
||||
<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 href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
@ -21,8 +24,7 @@ Proxy-Connection: close
|
||||
<p>
|
||||
_("The connection to the proxy was reset.")
|
||||
_("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>
|
||||
<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>
|
||||
<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>
|
||||
_("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>
|
||||
<hr>
|
||||
|
Reference in New Issue
Block a user