diff --git a/structurizr-onpremises/src/main/java/com/structurizr/onpremises/util/ConfigLookup.java b/structurizr-onpremises/src/main/java/com/structurizr/onpremises/util/ConfigLookup.java index 6d61b87..a0db5a0 100644 --- a/structurizr-onpremises/src/main/java/com/structurizr/onpremises/util/ConfigLookup.java +++ b/structurizr-onpremises/src/main/java/com/structurizr/onpremises/util/ConfigLookup.java @@ -83,6 +83,10 @@ public static String getConfigurationParameterFromStructurizrPropertiesFile(Stri value = defaultValue; } + if (value != null) { + value = value.trim(); + } + return value; }