Skip to content

Commit

Permalink
installer(windows terminal): quote path
Browse files Browse the repository at this point in the history
Without quoting the path, the door is open for executing unintended
executables.

This fixes git-for-windows/git#5100.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Aug 12, 2024
1 parent 0cacd22 commit 6d0b090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2857,7 +2857,7 @@ begin
' {'+
' "guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}",'+
' "name": "Git Bash",'+
' "commandline": "'+AppPath+'/bin/bash.exe -i -l",'+
' "commandline": "\"'+AppPath+'/bin/bash.exe\" -i -l",'+
' "icon": "'+AppPath+'/{#MINGW_BITNESS}/share/git/git-for-windows.ico",'+
' "startingDirectory": "%USERPROFILE%"'+
' }'+
Expand Down

0 comments on commit 6d0b090

Please sign in to comment.