You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: spring-cloud-dataflow-core/src/main/java/org/springframework/cloud/dataflow/core/StreamDefinitionToDslConverter.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -112,8 +112,10 @@ public String toDsl(List<StreamAppDefinition> appDefinitions) {
112
112
}
113
113
114
114
privateStringautoQuotes(StringpropertyValue) {
115
-
if (propertyValue.contains(" ") && !propertyValue.contains("'")) {
116
-
return"'" + propertyValue + "'";
115
+
if (!propertyValue.contains("'")) {
116
+
if (propertyValue.contains(" ") || propertyValue.contains(";") || propertyValue.contains("*")) {
Copy file name to clipboardExpand all lines: spring-cloud-dataflow-core/src/test/java/org/springframework/cloud/dataflow/core/StreamDefinitionToDslConverterTests.java
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -187,4 +187,49 @@ public void testPropertyAutoQuotes() {
0 commit comments