File tree 3 files changed +10
-4
lines changed
Classes/Communication/Shared 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
# In2publish Core Change Log
2
2
3
+ 9.0.2:
4
+
5
+ - [ META] Set the EM conf version number to 9.0.1
6
+ - [ BUGFIX] Ensure all RCE command arguments, options and names are strings
7
+ - [ RELEASE] Version 9.0.1 with stability improvements
8
+
3
9
9.0.1:
4
10
5
11
- [ META] Set the EM conf version number to 9.0.1
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ protected function prepareCommand(RemoteCommandRequest $request): string
173
173
$ command = '' ;
174
174
175
175
foreach ($ request ->getEnvironmentVariables () as $ name => $ value ) {
176
- $ command .= 'export ' . escapeshellcmd ($ name ) . '= ' . escapeshellarg ($ value ) . '; ' ;
176
+ $ command .= 'export ' . escapeshellcmd (( string ) $ name ) . '= ' . escapeshellarg (( string ) $ value ) . '; ' ;
177
177
}
178
178
179
179
$ command .= 'cd ' . escapeshellarg ($ request ->getWorkingDirectory ()) . ' && ' ;
@@ -183,13 +183,13 @@ protected function prepareCommand(RemoteCommandRequest $request): string
183
183
184
184
if ($ request ->hasOptions ()) {
185
185
foreach ($ request ->getOptions () as $ option ) {
186
- $ command .= ' ' . escapeshellcmd ($ option );
186
+ $ command .= ' ' . escapeshellcmd (( string ) $ option );
187
187
}
188
188
}
189
189
190
190
if ($ request ->hasArguments ()) {
191
191
foreach ($ request ->getArguments () as $ name => $ value ) {
192
- $ command .= ' ' . escapeshellcmd ($ name ) . '= ' . escapeshellarg ($ value );
192
+ $ command .= ' ' . escapeshellcmd (( string ) $ name ) . '= ' . escapeshellarg (( string ) $ value );
193
193
}
194
194
}
195
195
return $ command ;
Original file line number Diff line number Diff line change 4
4
'title ' => 'in2publish Core ' ,
5
5
'description ' => 'Content publishing extension to connect stage and production server ' ,
6
6
'category ' => 'plugin ' ,
7
- 'version ' => '9.0.1 ' ,
7
+ 'version ' => '9.0.2 ' ,
8
8
'state ' => 'stable ' ,
9
9
'uploadfolder ' => 0 ,
10
10
'createDirs ' => '' ,
You can’t perform that action at this time.
0 commit comments