Not signed in (Sign In)

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthoresterng
    • CommentTimeJul 26th 2007
     permalink
    Have downloaded Lyceum Version .34, for file lib/wp-includes/function-formatting.php, function sanitize_user, line 277-278,

    if ( $strict )
    $username = preg_replace('|[^a-z0-9 _.-@]|i', '', $username);

    the above script tries to reduce user name to ASCII for max portability, I think the script of line 278 should be revised as,

    $username = preg_replace('|[^a-z0-9 _.\-@]|i', '', $username);

    or all characters like '/', ':', ';', '<', '=', '>', '?' will be regarded as valid characters.

    Please feel free to correct me. Thanks.
    • CommentAuthorjohn
    • CommentTimeAug 5th 2007
     permalink
    esterng-- interesting-- care to submit a ticket / patch?

    http://wiki.lyceum.ibiblio.org/index.php/Trac_Guide
    • CommentAuthoresterng
    • CommentTimeAug 6th 2007
     permalink
    have submitted ticket for that, thanks.