Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12866

Wrong profile field validation options

    Details

      Description

      Currently the profilefields contains two redundant validation options ALPHA_ONLY and ALPHA_UNDERSCORE because the token \w includes the underscore too:
      https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/phpbb/profilefields/type/type_string_common.php#L21-22

      This may have an impact on the other options too.

        Activity

        Hide
        nickvergessen Joas Schilling added a comment -

        I think we should then fix _ONLY to not accept the _ as it is intended.

        Show
        nickvergessen Joas Schilling added a comment - I think we should then fix _ONLY to not accept the _ as it is intended.

          People

          • Assignee:
            nickvergessen Joas Schilling
            Reporter:
            Elsensee Oliver Schramm
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development