Changeset 5936


Ignore:
Timestamp:
04/21/10 22:13:41 (9 years ago)
Author:
nikrou
Message:

Bug 1621 fixed : CSS vulnerability in register.php
login and mail_address fields must be filtered with htmlspecialchars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/register.php

    r5196 r5936  
    7777 
    7878  'F_ACTION' => 'register.php', 
    79   'F_LOGIN' => $login, 
    80   'F_EMAIL' => $email 
     79  'F_LOGIN' => htmlspecialchars($login, ENT_QUOTES, 'utf-8'), 
     80  'F_EMAIL' => htmlspecialchars($email, ENT_QUOTES, 'utf-8') 
    8181  )); 
    8282 
Note: See TracChangeset for help on using the changeset viewer.