1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12794] Properly validate google+ field against valid character set

PHPBB3-12794
This commit is contained in:
Marc Alexander
2014-08-08 15:03:33 +02:00
parent e4e7a8f849
commit a6b275de5c
2 changed files with 44 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ class type_googleplus extends type_string
'field_length' => 20,
'field_minlen' => 3,
'field_maxlen' => 255,
'field_validation' => '[\w]+',
'field_validation' => '(?:(?!\.{2,})([^<>=+]))+',
'field_novalue' => '',
'field_default_value' => '',
);