Skip to content

Commit

Permalink
Patch per vulnerabilità XSS - Avviso Secunia SA50574
Browse files Browse the repository at this point in the history
Aggiornata la versione in admin di zen_get_all_get_params per includere
la medesima modalità di sanitizzazione utilizzata nel frontend
  • Loading branch information
Paolo De Dionigi committed Oct 10, 2012
1 parent 0638429 commit f86ccb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/includes/functions/general.php
Expand Up @@ -122,7 +122,8 @@ function zen_get_all_get_params($exclude_array = '') {

reset($_GET);
while (list($key, $value) = each($_GET)) {
if (($key != zen_session_name()) && ($key != 'error') && (!in_array($key, $exclude_array))) $get_url .= $key . '=' . $value . '&';
if (($key != zen_session_name()) && ($key != 'error') && (!in_array($key, $exclude_array)))
$get_url .= zen_sanitize_string($key) . '=' . rawurlencode(stripslashes($value)) . '&';
}

return $get_url;
Expand Down

0 comments on commit f86ccb7

Please sign in to comment.