aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-01-10 12:36:49 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-01-10 12:36:49 +0100
commit67c987f0d06cb0898d2589c7bc12fceb4e142d68 (patch)
tree7e28f84d31403cac05e5b3e8e36e8e48aab34cd0 /phpBB/phpbb/profilefields
parentbf59d8dd746578dac4f239cbbce5885acfadaefd (diff)
parent1145af71bf08519b389ab57600d855689664ecfc (diff)
downloadforums-67c987f0d06cb0898d2589c7bc12fceb4e142d68.tar
forums-67c987f0d06cb0898d2589c7bc12fceb4e142d68.tar.gz
forums-67c987f0d06cb0898d2589c7bc12fceb4e142d68.tar.bz2
forums-67c987f0d06cb0898d2589c7bc12fceb4e142d68.tar.xz
forums-67c987f0d06cb0898d2589c7bc12fceb4e142d68.zip
Merge pull request #3166 from nickvergessen/Senky-ticket/12866
[ticket/12866] Wrong profile field validation options
Diffstat (limited to 'phpBB/phpbb/profilefields')
-rw-r--r--phpBB/phpbb/profilefields/type/type_string_common.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_string_common.php b/phpBB/phpbb/profilefields/type/type_string_common.php
index ff33a7b49c..f5e1992044 100644
--- a/phpBB/phpbb/profilefields/type/type_string_common.php
+++ b/phpBB/phpbb/profilefields/type/type_string_common.php
@@ -18,11 +18,11 @@ abstract class type_string_common extends type_base
protected $validation_options = array(
'CHARS_ANY' => '.*',
'NUMBERS_ONLY' => '[0-9]+',
- 'ALPHA_ONLY' => '[\w]+',
- 'ALPHA_UNDERSCORE' => '[\w_]+',
- 'ALPHA_DOTS' => '[\w.]+',
- 'ALPHA_SPACERS' => '[\w\x20_+\-\[\]]+',
- 'ALPHA_PUNCTUATION' => '[a-zA-Z][\w\.,\-_]+',
+ 'ALPHA_ONLY' => '[a-zA-Z0-9]+',
+ 'ALPHA_UNDERSCORE' => '[\w]+',
+ 'ALPHA_DOTS' => '[a-zA-Z0-9.]+',
+ 'ALPHA_SPACERS' => '[\w\x20+\-\[\]]+',
+ 'ALPHA_PUNCTUATION' => '[a-zA-Z][\w\.,\-]+',
'LETTER_NUM_ONLY' => '[\p{Lu}\p{Ll}0-9]+',
'LETTER_NUM_UNDERSCORE' => '[\p{Lu}\p{Ll}0-9_]+',
'LETTER_NUM_DOTS' => '[\p{Lu}\p{Ll}0-9.]+',