Changeset 9929 for branches/2.1/include


Ignore:
Timestamp:
Mar 29, 2011, 9:59:09 PM (14 years ago)
Author:
patdenice
Message:

merge r9923 from trunk to branch 2.1
bug:2234
HTML characters are allowed in username

Location:
branches/2.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1

    • Property svn:mergeinfo changed
      /trunkmerged: 9923
  • branches/2.1/include/functions_user.inc.php

    r6661 r9929  
    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.