Ignore:
Timestamp:
Mar 29, 2011, 9:30:28 PM (13 years ago)
Author:
patdenice
Message:

bug:2234
HTML characters are allowed in username

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_user.inc.php

    r9074 r9923  
    112112  {
    113113    array_push($errors, l10n('this login is already used'));
     114  }
     115  if ($login != strip_tags($login))
     116  {
     117    array_push($errors, l10n('html tags are not allowed in login'));
    114118  }
    115119  $mail_error = validate_mail_address(null, $mail_address);
Note: See TracChangeset for help on using the changeset viewer.