Console: Fix gzip enable logic

Don't compress js
Set charset for war resources
This commit is contained in:
zzz
2018-03-10 14:53:57 +00:00
parent fa85c0c50b
commit fe808a8800
3 changed files with 25 additions and 5 deletions

View File

@@ -96,6 +96,9 @@ public class LocaleWebAppHandler extends HandlerWrapper
}
}
}
} else if (pathInContext.startsWith("/js/")) {
// war internal
httpResponse.setCharacterEncoding("ISO-8859-1");
}
//System.err.println("New path: " + newPath);
super.handle(newPath, baseRequest, httpRequest, httpResponse);