Changeset 11 for trunk/client


Ignore:
Timestamp:
Dec 2, 2009, 6:20:22 PM (15 years ago)
Author:
roby
Message:

sicurezza anti xss

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/votanti.php

    r10 r11  
    3434if (isset($param['id_gruppo'])) $id_gruppo=intval($param['id_gruppo']); else $id_gruppo='';
    3535if (isset($param['tipo_cons'])) $tipo_cons=intval($param['tipo_cons']); else $tipo_cons='';
     36# anti-xss nov. 2009
     37$id_comune=htmlentities($id_comune);
     38$perc=floatval($perc);
     39$perc_lista=floatval($perc_lista);
     40$datipdf= htmlentities($datipdf);
     41$op= htmlentities($op);
     42$info= htmlentities($info);
     43$files=htmlentities($files);
     44$lettera=htmlentities($lettera);
    3645
    3746$id_comune=intval($id_comune);
Note: See TracChangeset for help on using the changeset viewer.