Merge remote-tracking branch 'origin/support/2.6' into support/2.7

This commit is contained in:
Pierre Goiffon
2021-11-18 08:54:32 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -2697,6 +2697,7 @@ class WizStepDone extends WizardStep
public function AsyncAction(WebPage $oPage, $sCode, $aParameters)
{
SetupUtils::EraseSetupToken();
// For security reasons: add the extension now so that this action can be used to read *only* .tar.gz files from the disk...
$sBackupFile = $aParameters['backup'].'.tar.gz';
if (file_exists($sBackupFile))