mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-06 05:22:37 +02:00
bug 2612 fixed: sanitize $_GET['installstatus'] before display for
themes/languages/plugins installation git-svn-id: http://piwigo.org/svn/branches/2.3@13961 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -97,8 +97,9 @@ if (isset($_GET['installstatus']))
|
||||
break;
|
||||
|
||||
default:
|
||||
array_push($page['errors'],
|
||||
sprintf(l10n('An error occured during extraction (%s).'), $_GET['installstatus'])
|
||||
array_push(
|
||||
$page['errors'],
|
||||
sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus']))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ if (isset($_GET['installstatus']))
|
||||
|
||||
default:
|
||||
array_push($page['errors'],
|
||||
sprintf(l10n('An error occured during extraction (%s).'), $_GET['installstatus']),
|
||||
sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus'])),
|
||||
l10n('Please check "plugins" folder and sub-folders permissions (CHMOD).'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ if (isset($_GET['installstatus']))
|
||||
default:
|
||||
array_push(
|
||||
$page['errors'],
|
||||
sprintf(l10n('An error occured during extraction (%s).'), $_GET['installstatus'])
|
||||
sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus']))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user