Skip to content
Permalink
Browse files Browse the repository at this point in the history
[security] Fixed issue #14617: relative path allowed in lsa multiple …
…download
  • Loading branch information
LouisGac committed Mar 14, 2019
1 parent 9ca364f commit 1ed10d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/controllers/admin/export.php
Expand Up @@ -919,6 +919,7 @@ public function exportMultipleSurveys($sSurveys, $sExportType)
public function downloadZip($sZip)
{
$sTempDir = Yii::app()->getConfig("tempdir");
$sZip = get_absolute_path($sZip);
$aZIPFileName = $sTempDir.DIRECTORY_SEPARATOR.$sZip;

if (is_file($aZIPFileName)) {
Expand Down

0 comments on commit 1ed10d3

Please sign in to comment.