|
|
|
@ -62,6 +62,10 @@ public class FineEmbedServerActivator extends Activator {
|
|
|
|
|
tomcat.setPort(DesignerEnvManager.getEnvManager().getEmbedServerPort()); |
|
|
|
|
// 设置解码uri使用的字符编码
|
|
|
|
|
tomcat.getConnector().setURIEncoding(EncodeConstants.ENCODING_UTF_8); |
|
|
|
|
// 参考 https://jira.atlassian.com/browse/CONFSERVER-57582
|
|
|
|
|
// https://tomcat.apache.org/tomcat-8.5-doc/config/http.html
|
|
|
|
|
// 8.5.x 请求参数带特殊字符被tomcat拒绝 []|{}^\`"<>
|
|
|
|
|
tomcat.getConnector().setProperty("relaxedQueryChars", "[]|{}^\`"<>"); |
|
|
|
|
setMaxPostSize(); |
|
|
|
|
String docBase = new File(WorkContext.getCurrent().getPath()).getParent(); |
|
|
|
|
|
|
|
|
|