remove ALLOW_PLANTUML_INCLUDE + update to 1.2023.9

- update Plantuml to v1.2023.9
- PlantUML core removed `OptionFlags.ALLOW_INCLUDE` and uses now the `PLANTUML_SECURITY_PROFILE`
This commit is contained in:
HeinrichAD
2023-06-13 18:07:27 +02:00
committed by PlantUML
parent 09a7ce4973
commit 4202730c11
3 changed files with 22 additions and 21 deletions

View File

@@ -111,11 +111,6 @@ public class DiagramResponse {
return;
}
initialized = true;
// set allow include to false by default
OptionFlags.ALLOW_INCLUDE = false;
if ("true".equalsIgnoreCase(System.getenv("ALLOW_PLANTUML_INCLUDE"))) {
OptionFlags.ALLOW_INCLUDE = true;
}
// set security profile to INTERNET by default
// NOTE: this property is cached inside PlantUML and cannot be changed after the first call of PlantUML
System.setProperty("PLANTUML_SECURITY_PROFILE", SecurityProfile.INTERNET.toString());