Debian updates for 0.9.34

This commit is contained in:
zzz
2018-04-11 16:10:08 +00:00
parent a474bd46d6
commit 57e21e906f
8 changed files with 54 additions and 2 deletions

View File

@ -0,0 +1,26 @@
Index: b/apps/routerconsole/java/src/net/i2p/router/web/HostCheckHandler.java
===================================================================
--- a/apps/routerconsole/java/src/net/i2p/router/web/HostCheckHandler.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/HostCheckHandler.java
@@ -44,19 +44,12 @@ public class HostCheckHandler extends Gz
_listenHosts = new HashSet<String>(8);
setMinGzipSize(64*1024);
if (_context.getBooleanPropertyDefaultTrue(PROP_GZIP)) {
- addIncludedMimeTypes(
- // our js is very small
- //"application/javascript", "application/x-javascript",
- "application/xhtml+xml", "application/xml",
- // ditto svg
- //"image/svg+xml",
- "text/css", "text/html", "text/plain"
- );
+ setMimeTypes("application/xhtml+xml,application/xml,text/css,text/html,text/plain");
} else {
// poorly documented, but we must put something in,
// if empty all are matched,
// see IncludeExcludeSet
- addIncludedMimeTypes("xyzzy");
+ setMimeTypes("xyzzy");
}
}