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

@@ -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>