From 9d95456bb0ba16211f58aceac46ce2f18f1dfdf4 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 2 Mar 2016 14:07:30 +0000 Subject: [PATCH] Fix bug in handling of special chars in proxy .bat files for binaries, fixes #4990 --- src/Composer/Installer/LibraryInstaller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Installer/LibraryInstaller.php b/src/Composer/Installer/LibraryInstaller.php index 25deef904..b9c76770c 100644 --- a/src/Composer/Installer/LibraryInstaller.php +++ b/src/Composer/Installer/LibraryInstaller.php @@ -333,6 +333,7 @@ class LibraryInstaller implements InstallerInterface } return "@ECHO OFF\r\n". + "setlocal DISABLEDELAYEDEXPANSION\r\n". "SET BIN_TARGET=%~dp0/".trim(ProcessExecutor::escape($binPath), '"')."\r\n". "{$caller} \"%BIN_TARGET%\" %*\r\n"; }