Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7208

validate_username with mbstring functions for USERNAME_LETTER_NUM_SPACERS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 3.0.0
    • Other
    • None
    • PHP Environment: 5.2.5
      Database:

      I have trouble with validate_username for registration when i limit characters to USERNAME_LETTER_NUM_SPACERS.

      The check with mb_ereg_search fails also for valid user names that should be allowed...eg "test_test" or "name lastname"

      I have validated that only with 3.0.0 but that code it hasnt changed in 3.0.1

      MyMultibyte Settings are:
      --------------------------------
      Multibyte Support enabled
      Multibyte string engine libmbfl
      Multibyte (japanese) regex support enabled
      Multibyte regex (oniguruma) version 4.4.4
      Multibyte regex (oniguruma) backtrack check On

            ToonArmy Chris Smith
            dokster dokster
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: