From 4ccbca259bf82c6e12d89158444be6159800be3e Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 7 Oct 2015 10:58:07 +0200 Subject: [PATCH] Properly escape command line arguments Closes gh-3841 --- spring-boot-cli/src/main/executablecontent/bin/spring | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-cli/src/main/executablecontent/bin/spring b/spring-boot-cli/src/main/executablecontent/bin/spring index c13b79b31b..0ba9c5d66f 100755 --- a/spring-boot-cli/src/main/executablecontent/bin/spring +++ b/spring-boot-cli/src/main/executablecontent/bin/spring @@ -92,4 +92,4 @@ if $cygwin; then CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` fi -"${JAVA_HOME}/bin/java" ${JAVA_OPTS} -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher $* +"${JAVA_HOME}/bin/java" ${JAVA_OPTS} -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@"